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
John Maddock
4f873ea632
Don't test msvc bug case for versions of msvc that don't support the fix.
...
[SVN r70203]
2011-03-19 18:03:57 +00:00
John Maddock
087d133793
Update type_traits tests to reflect C++0x.
...
Make better/simpler use of C++0x intrinsics where available.
Change a few traits to C++0x behaviour.
Update docs to reflect current intrinsic availability.
[SVN r70057]
2011-03-17 13:12:44 +00:00
John Maddock
ee29b7660f
Change is_convertible to use C++0x behaviour where possible.
...
Change is_converible to use MSVC __is_convertible intrinsic.
Fixes #5271 .
Fixes #4530 .
[SVN r69822]
2011-03-10 16:52:00 +00:00
John Maddock
c02516b25b
Fix comon_type to actually work when typeof isn't in use.
...
Applies fixes from Vicente Botet.
[SVN r68040]
2011-01-12 13:29:37 +00:00
John Maddock
19b82cc55b
Fix inspection report issues.
...
[SVN r67728]
2011-01-06 17:09:17 +00:00
John Maddock
71d516c6f5
Suppress some Intel C++ warnings.
...
[SVN r65628]
2010-09-27 12:23:46 +00:00
John Maddock
c77a72a7cc
Add conditional trait.
...
Update and regenerate docs.
Update type_traits.hpp and add trivial test case for it.
[SVN r65575]
2010-09-24 17:12:08 +00:00
John Maddock
afd6785017
Add declval and common type from Vicente J. Botet Escriba.
...
Regenerate docs.
[SVN r65443]
2010-09-17 12:12:03 +00:00
John Maddock
e66ffd9a99
Add new traits add_lvalue_reference and add_rvalue_reference.
...
[SVN r65387]
2010-09-11 18:00:56 +00:00
John Maddock
fd67e7f2db
Fix a few more compiler warnings.
...
[SVN r65273]
2010-09-04 17:36:23 +00:00
John Maddock
d06a16e0e9
Set warnings as errors in type_traits library, where possible.
...
[SVN r65188]
2010-09-02 09:32:35 +00:00
John Maddock
f8e246218e
Commit updated test case.
...
[SVN r64674]
2010-08-08 08:40:57 +00:00
John Maddock
b097b5215e
Update the type_traits library to handle rvalue references.
...
Add is_lvalue_reference and is_rvalue_reference traits.
[SVN r63486]
2010-07-01 15:55:48 +00:00
John Maddock
cf879100c6
Fix inspection script issue: change check to do_check.
...
[SVN r61454]
2010-04-21 09:04:00 +00:00
John Maddock
a5f067761a
Fixes #3704 .
...
[SVN r58901]
2010-01-11 13:04:01 +00:00
John Maddock
89f18be48e
Ooops, original test case invoked very undefined behaviour.
...
[SVN r58215]
2009-12-07 12:56:29 +00:00
John Maddock
c8d4c6ccd1
Fix msvc and gcc warnings in the type_traits library.
...
Build should now be clean with cl /W4 or gcc -Wall -Wextra -pedantic for all except one test - there appears to be no way to use initialized aligned_storage with gcc without it producing a warning :-(
[SVN r57489]
2009-11-08 16:49:40 +00:00
Troy D. Straszheim
524cb0cfe7
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
John Maddock
13ca0cf698
Fixes #3401 .
...
[SVN r56730]
2009-10-12 11:00:02 +00:00
John Maddock
f1817aeee1
Fixes #3317 .
...
Fix is_virtual_base_of so it doesn't lose exception specifications on it's destructors (causes GCC and maybe other compilers to choke).
[SVN r55428]
2009-08-06 08:54:45 +00:00
John Maddock
c9e77b9c8d
Fix is_base_of and is_base_and_derived to conform to C++0x.
...
Also fixed consistency of handling cv-qualified types.
Added new trait in boost::tr1 to archive old tr1 behaviour.
Updated TR1 lib to match.
[SVN r55404]
2009-08-04 17:15:51 +00:00
John Maddock
405c4ba902
Added support for (?(DEFINE) blocks and updated the docs accordingly.
...
Added support for ICU libraries which may be named icui18n.lib on some Win32 platforms.
[SVN r55267]
2009-07-29 17:11:56 +00:00
Troy D. Straszheim
3e8055a725
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Alexander Nasonov
68a4a628cf
Test for: enum UIntEnum { value = UINT_MAX } is promoted to int
...
[SVN r53220]
2009-05-23 22:32:10 +00:00