jzmaddock
3435d48f0e
Add the remaining traits - only common_type still has dependencies to something other than Boost.Config.
2015-01-17 19:08:08 +00:00
jzmaddock
94eb94980e
Add more traits back - nearly complete now.
2015-01-17 18:06:27 +00:00
jzmaddock
6aa0878fb3
Add some more traits back.
2015-01-17 13:35:26 +00:00
jzmaddock
fe41f0a4c1
Add operator traits and tests.
2015-01-16 18:30:26 +00:00
jzmaddock
c4c10e06c6
Add new versions of decay, extent, function_traits.
2015-01-15 18:23:35 +00:00
jzmaddock
6bbee3cc59
Add new versions of alignment traits.
2015-01-15 17:05:05 +00:00
jzmaddock
8dc33362b9
Convert some more traits.
2015-01-15 11:31:18 +00:00
jzmaddock
f0da159e1f
Initial commit of new version of type_traits which has zero dependencies (other than Boost.Config), plus reduced template instantiations, and cleaner easier to read code.
2015-01-14 18:34:11 +00:00
jzmaddock
ffa9927732
Add new hooks for nothrow move assign/construct and fix is_nothrow_move_assignable and is_nothrow_move_constructible for msvc-12 and later.
2014-12-05 18:30:54 +00:00
jzmaddock
5c0474dbc7
Improve is_nothrow* tests.
...
Disable is_nothrow* full implementation when there's no SFINAE expressions and simplify implementation.
2014-10-19 17:45:57 +01:00
jzmaddock
6b92cc7e26
Fix C++11 syntax error
2014-09-22 18:09:12 +01:00
Ion Gaztañaga
cf18d2bbac
is_copy_assignable implementation added. It needs C++11 support to work reliable.
2014-08-26 23:23:12 +02:00
jzmaddock
df74811a4c
Fix has_trivial_copy so that non-copyable types are never trivially copyable! Also fix clang to detect trivially copyable array types.
2014-08-23 12:20:26 +01:00
jzmaddock
0e78687e7d
Fix test case:
...
* Don't test incomplete types.
* Use new BOOST_NO_CXX11_FINAL macro for checks.
* Use soft checks when no compiler support is present.
2014-08-20 18:15:30 +01:00
K-ballo
5d936acc05
Added is_final type trait. Added BOOST_IS_FINAL intrinsic.
2014-08-19 14:45:00 -03:00
Marcel Raad
ada1f1b831
compile fix for tests with TEST_STD defined
2014-07-03 21:05:17 +02:00
jzmaddock
1f815065bb
Fix gcc-4.9.0 warnings
2014-05-02 09:29:30 +01:00
jzmaddock
03bff14498
Updated fix for https://svn.boost.org/trac/boost/ticket/9910#comment:2
...
C++11 version of is_convertible does not need a check for is_abstract.
2014-04-27 16:51:19 +01:00
jzmaddock
f91ab70055
Apply fix for issue https://svn.boost.org/trac/boost/ticket/9910 which provides a C++11 conforming version of is_convertible.
2014-04-23 12:50:53 +01:00
jzmaddock
7c2d5eb2a6
Apply patches from https://svn.boost.org/trac/boost/ticket/7317
...
Fixes msvc-11 compile failures.
2014-04-22 09:22:35 +01:00
jzmaddock
954cdb5e46
Add fix for https://svn.boost.org/trac/boost/ticket/9474
2014-04-21 09:39:19 +01:00
jzmaddock
a0ae848ad2
GCC warning suppression.
2014-03-13 17:56:03 +00:00
jzmaddock
7f7cde4378
Remove obsolete #includes - reduces dependency burden.
2014-02-20 11:32:01 +00:00
jzmaddock
a2b3727caf
Fix some GCC warnings by actually testing the types generated.
2014-02-08 13:00:31 +00:00
Antony Polukhin
5b7204632a
Disable tests that can not be passed by intel compiler due to its usege of the is_copy_constructible trait in C++98/fallback mode (beacause of the bugs in SFINAE for deleted functions). (refs #8802 )
...
[SVN r85357]
2013-08-15 15:17:40 +00:00
Antony Polukhin
c646121426
Test is_copy_constructible trait on C++03/98 with Boost.Move emulation of noncopyable-movable type (refs #8802 , refs #8842 )
...
[SVN r85193]
2013-08-03 06:09:35 +00:00
Antony Polukhin
a867293d57
Workaround some of the Intel warinings/bugs in the is_copy_constructible_tests file (refs #8802 )
...
[SVN r85173]
2013-07-30 07:50:21 +00:00
Antony Polukhin
2429f259cc
Unify behavior of is_copy_constructible triat when dealing with rvalues + add comments for some tests (refs #8802 ):
...
[SVN r85104]
2013-07-22 12:51:09 +00:00
Antony Polukhin
adfe8642af
Fix tests for is_copy_constructible triat and fix reference-to-reference issue (refs #8802 ).
...
[SVN r85060]
2013-07-17 14:38:39 +00:00
John Maddock
449c859c9d
Add support for char16_t and char32_t.
...
Fixes #8780 .
[SVN r85019]
2013-07-12 18:28:17 +00:00
Antony Polukhin
2131265b3d
Fix tests build under MSVC for is_copy_constructible triat (refs #8802 )
...
[SVN r85006]
2013-07-12 11:14:11 +00:00
Antony Polukhin
1feea65d89
Added is_copy_constructible triat implementation and tests (refs #8802 )
...
[SVN r84987]
2013-07-09 07:49:44 +00:00
John Maddock
1554970121
Tentative fixes for remaining msvc-11 failures.
...
[SVN r83437]
2013-03-15 13:27:03 +00:00
Antony Polukhin
0ef52c07fa
Added C++11 specific tests for implementation of is_nothrow_move_constructible and is_nothrow_move_assignable traits (refs #8189 ).
...
[SVN r83365]
2013-03-08 15:52:46 +00:00
Antony Polukhin
40d87a0683
Fix MSVC11 test (refs #8189 ).
...
Added C++11 noexcept implementation of is_nothrow_move_constructible and is_nothrow_move_assignable traits and changed C++03 version to to work close to C++11 (refs #8189 ).
[SVN r83245]
2013-03-02 16:15:30 +00:00
Antony Polukhin
6ddc6c1d51
Added new type traits (more documentation, more tests and improved C++11 specific features detection still must to be done) (refs #8189 )
...
[SVN r83206]
2013-02-28 19:17:49 +00:00
John Maddock
2162f05dfc
Apply patches to correct typos from Michel Morin.
...
Refs #7683 .
[SVN r82241]
2012-12-28 18:21:09 +00:00
Marshall Clow
9cd79c769e
Removed usage of deprecated macros
...
[SVN r81554]
2012-11-26 16:59:41 +00:00
John Maddock
e6314963a3
Add initial support for __int128 to Config and TypeTraits
...
[SVN r81064]
2012-10-25 12:21:19 +00:00
John Maddock
b95816426c
Move new test cases into the "tricky" section as many compilers can't handle them.
...
Revert previous change that used std::is_convertible on GCC as it breaks code prior to gcc-4.7.
Fix MSVC intrinsic to handle function types better.
Filter out rvalue-refs from is_function.
Partially apply patch from #7251 to make is_convertible behave more according to C++11.
Refs #7251 .
[SVN r80234]
2012-08-26 12:14:11 +00:00
Michel Morin
c8294f4710
Adding is_convertible test for function types
...
[SVN r80081]
2012-08-19 02:05:55 +00:00
John Maddock
551385bd9c
Remove stray ; in test file.
...
Add some rvalue ref tests for is_convertible.
Enable use of intrinsics for Intel on Win32.
Fix rvalue ref usage in is_convertible.
[SVN r79983]
2012-08-12 17:57:27 +00:00
John Maddock
7f7f8a30d0
Add strongly typed enum test.
...
[SVN r79457]
2012-07-12 17:21:53 +00:00
Frédéric Bron
9e0c22f76a
operator traits: deprecated operator++(bool) is now correctly handled (has_{pre,post}_increment<bool>::value==false
...
[SVN r74841]
2011-10-09 08:24:42 +00:00
Frédéric Bron
6e2fae44d4
added type trait extension to operator detection
...
[SVN r74782]
2011-10-07 21:05:54 +00:00
Gennadiy Rozental
360373e3ee
eliminated unit_test_framework and BOOST_MESSAGE
...
[SVN r74734]
2011-10-05 10:05:30 +00:00
Bryce Adelstein-Lelbach
0e4093146b
Fix flags for type_with_alignment test on gcc-4.4 (won't compile due to
...
uninitialized warning).
[SVN r72279]
2011-05-30 12:41:33 +00:00
John Maddock
8375014c95
Disable some embedded win32 warnings.
...
[SVN r71394]
2011-04-20 16:22:29 +00:00
John Maddock
7fdc037def
Fix remove pointer so it works for cv-qualified function pointers in VC-10 (compiler bug workaround).
...
Fixes #5484 .
[SVN r71378]
2011-04-19 11:03:17 +00:00
John Maddock
28631034ca
Fix up type_traits intrinsic support when using the Intel compiler.
...
Suppress quite a few Intel-12.0 warnings.
[SVN r70221]
2011-03-20 12:18:59 +00:00