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
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