Commit Graph
109 Commits
Author SHA1 Message Date
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
John Maddock cf105d7630 Improve testing: ensure that aligned_storage<>::type really is a POD type.
[SVN r28476]
2005-04-25 16:42:47 +00:00
John Maddock ee95ccb724 Use the correct config macro to check for is_abstract.
[SVN r28421]
2005-04-22 16:10:12 +00:00
John Maddock 0ad3ce3405 Workaround for gcc-3.4.2
[SVN r28420]
2005-04-22 15:45:10 +00:00
John Maddock bfa2c80b6a Added extra test for newly discovered VC7.1 bug.
[SVN r28386]
2005-04-21 15:55:43 +00:00
John Maddock 8513618762 Updated is_convertible test cases to check polymorphic-type conversions.
Added more test types to testing header.
Changed utility code to use new test header.


[SVN r27807]
2005-03-24 18:20:18 +00:00
John Maddock 8622528d91 Modified function testing to make it configuration-friendly, future changes should require no more than a config macro change.
[SVN r27773]
2005-03-23 11:22:52 +00:00
John Maddock b026d4b530 Modified type_traits to work better with abstract type, and to supress warnings when converting between builtin types.
Modified is_member_function_pointer and is_function to work with functions containing elipsis, and with __stdcall, __fastcall, and __cdecl function types.
Tidied up is_reference, removing dead code.
Updated tests to exercise the new code.


[SVN r27709]
2005-03-16 17:06:22 +00:00
Thorsten Jørgen Ottosen b4bd9ff9df *** empty log message ***
[SVN r27323]
2005-02-11 17:25:57 +00:00