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
John Maddock
bc45b934b6
Added tests for aligned_storage::address() and fixed some Borland specific bugs (these show up in serialization/test/test_delete_pointer_binary_archive).
...
[SVN r53071]
2009-05-17 09:12:30 +00:00
Thorsten Jørgen Ottosen
0c934b3466
new test of empty aligned_storage
...
[SVN r52803]
2009-05-06 19:20:55 +00:00
John Maddock
b253d45376
Mostly fix is_virtual_base_of on Borland.
...
[SVN r51988]
2009-03-26 17:57:05 +00:00
John Maddock
0ab92896c6
Added has_new_operator from Robert Ramey.
...
[SVN r51955]
2009-03-24 13:35:49 +00:00
John Maddock
44bd98cc6b
Add is_virtual_base_of.
...
Add extra tests for is_base_of to test virtual inheritance.
Trivial warning fix for is_abstract: fixes #2827 .
[SVN r51754]
2009-03-13 17:55:21 +00:00
John Maddock
101527367a
Fix msvc regression and add additional tests to check issue #1946 fix.
...
[SVN r50559]
2009-01-13 12:49:42 +00:00
Michael A. Jackson
5490bf61f3
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
John Maddock
21d466f451
Added alignof intrinsic support: new tests and docs.
...
Also added test case from issue #1946 .
[SVN r46128]
2008-06-04 17:09:37 +00:00
John Maddock
d1420c8e5a
Don't test SSE2 primitives on non-Intel chips.
...
[SVN r45421]
2008-05-16 09:09:23 +00:00
John Maddock
713516cd7d
Update the type_traits intrinsics support to include the gcc-4.3 intrinsics.
...
Also added some braces to our testing macros to quieten gcc warnings.
[SVN r44013]
2008-04-03 16:41:43 +00:00
John Maddock
912045e6ac
Updated and strengthened type_with_alignment tests and fixed msvc issue that prevented a type_with_alignment (or any type containing it such as Boost.Optional) from being passed by value. See http://article.gmane.org/gmane.comp.lib.boost.devel/173011 for motivating test case.
...
[SVN r43984]
2008-04-01 16:48:58 +00:00
John Maddock
9f60cc0b42
Added support and tests for MSVC SSE intrinsic types with alignments > long long.
...
[SVN r43952]
2008-03-30 17:25:24 +00:00
John Maddock
21b6ef16db
Fix bug report #1626 : added missing #include.
...
[SVN r43948]
2008-03-30 16:07:27 +00:00
John Maddock
e10f6cab43
Updated type traits library so that everything compiles with -Wall -pedantic with GCC.
...
[SVN r42899]
2008-01-21 18:11:09 +00:00
John Maddock
f250146688
Fix issue #1424 .
...
[SVN r40997]
2007-11-10 17:40:19 +00:00
John Maddock
295936b175
Disabled intrinsic type traits testing for SGI compiler.
...
Disabled one is_convertible test for aCC on PA RISC.
Disabled some tests in promote_basic_test.cpp for more platforms that have broken WCHAR_MAX macros.
[SVN r40294]
2007-10-22 17:48:51 +00:00
John Maddock
c85d9e3b88
Disable PP-logic for __DECCXX compiler: WCAHR_MAX is defined but doesn't work in PP-logic on that platform.
...
[SVN r39708]
2007-10-05 15:00:40 +00:00
John Maddock
293d1cb900
Added workarounds for broken WCHAR_MAX.
...
[SVN r39635]
2007-10-01 09:39:07 +00:00
John Maddock
97e7ce2abf
Almost get things building with Borland.
...
[SVN r39634]
2007-10-01 09:38:05 +00:00