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
John Maddock
4f323d9845
Disable test for Intel-10.
...
[SVN r39633]
2007-10-01 08:29:15 +00:00
John Maddock
4d0bcdc9f5
Big type_traits update:
...
Added make_signed, make_unsigned and is_complex.
Added docs for some previously undocumented traits: is_signed, is_unsigned and decay.html
Added synonyms for some traits that have changed name in the latest C++ std draft.
Re-organised docs, moved docs out of the main doc build for now (it takes too long).
This also fixes issues: http://svn.boost.org/trac/boost/ticket/492 and http://svn.boost.org/trac/boost/ticket/1008 .
[SVN r39175]
2007-09-10 09:19:49 +00:00
John Maddock
820cae7c2c
removed dead file.
...
[SVN r36553]
2006-12-31 17:29:18 +00:00
John Maddock
48232e77cb
Added additional tests for cv-qualified pointer types: these all fail and add new regressions for old compilers, hence their location here.
...
[SVN r36307]
2006-12-09 09:34:19 +00:00
John Maddock
413b552f6f
Added missing license info.
...
[SVN r34586]
2006-07-17 11:08:01 +00:00
John Maddock
b5f0ef82b7
Updated tests for intrinsics.
...
[SVN r33758]
2006-04-21 12:59:28 +00:00
Alexander Nasonov
591657959b
Applying blindly WCHAR_MAX fix for VC7.1
...
[SVN r33710]
2006-04-16 16:17:59 +00:00
Alexander Nasonov
0c7e439b85
Initial version of the code and tests
...
[SVN r33707]
2006-04-16 00:22:36 +00:00
Alexander Nasonov
d8779a3dd6
missing inline keyword in trivial template functions avoid_unused_warning and no_unused_warning
...
[SVN r32870]
2006-02-12 21:34:04 +00:00
John Maddock
bc9658d0a8
Additional tests for cv-qualified array types.
...
[SVN r32811]
2006-02-10 16:21:44 +00:00
John Maddock
ecf079d691
Fix test program so it builds with Borland.
...
[SVN r32432]
2006-01-27 10:36:29 +00:00
John Maddock
f3cd13084e
Ooops, need to pass the right number of arguments to macros!
...
[SVN r31667]
2005-11-15 19:12:14 +00:00
John Maddock
9292ae9273
Changed test results to match class declarations.
...
[SVN r31663]
2005-11-15 11:40:12 +00:00
John Maddock
b1a35a8ee3
Updated is_base_of and is_convertible tests to match TR1 requirements.
...
Disabled tests that are Boost-specific, when TEST_STD is defined.
Suppress some gcc warnings.
[SVN r31632]
2005-11-12 17:30:30 +00:00
John Maddock
f38310ae8a
Fixed tests so they actually work when the code really is in namespace std::tr1 (gcc-4).
...
[SVN r31611]
2005-11-09 17:34:00 +00:00
John Maddock
b5c4409c76
Suppressed some unnecessary VC++ warnings so that tests are -W4 clean.
...
[SVN r31219]
2005-10-07 14:27:39 +00:00
Dave Abrahams
b6b9a01a0b
Roll back "fixes" that never worked.
...
[SVN r29798]
2005-06-27 00:49:40 +00:00
Dave Abrahams
4b845146e2
Broken compiler workaround
...
[SVN r29781]
2005-06-24 15:39:45 +00:00
John Maddock
eca24d4e5a
Revised test cases were too strict for boken compilers, add a note instead, and only run the full tests for functioning compilers.
...
[SVN r29435]
2005-06-05 10:36:17 +00:00
John Maddock
24f89286a7
Stop passing UDT's through ellipsis - it messes up strictly conforming compilers (EDG and Metrowerks).
...
Tighten up the tests for function and member [function] types.
[SVN r29431]
2005-06-04 16:01:17 +00:00
John Maddock
30571abccc
Added warning for "desirable" results that don't come true.
...
Cleaned up test types: they should be either "all-trivial" or "all-non-trivial".
Added new test cases for has_nothrow* traits.
Fixed test cases for has_virtual_destructor.
[SVN r28662]
2005-05-05 16:24:46 +00:00