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
John Maddock
3bfee8baa6
Added a couple of extra tests
...
[SVN r27146]
2005-02-05 12:49:41 +00:00
John Maddock
8b40505dfa
Include the right headers!
...
[SVN r27056]
2005-02-03 13:54:51 +00:00
John Maddock
642bcf966f
Enable more tests to build with the TR1 version of type_traits.
...
Fix missing anchor in docs.
[SVN r26968]
2005-01-31 17:07:47 +00:00
John Maddock
0a79e9cb27
Added missing tests, made std test mode TR1 conforming.
...
[SVN r26959]
2005-01-31 13:49:34 +00:00
John Maddock
119a76547b
Bring type traits into line with TR1
...
[SVN r26937]
2005-01-30 15:47:46 +00:00
John Maddock
22d2d9b641
Updated to use BOOST_NO_IS_ABSTRACT.
...
[SVN r26424]
2004-12-04 12:05:42 +00:00
John Maddock
d1958e02f8
Added additional tests for abstract template types.
...
[SVN r26357]
2004-11-29 16:51:31 +00:00
Joaquín M. López Muñoz
9ca727623b
missing #include
...
[SVN r25471]
2004-09-29 10:18:53 +00:00
Joaquín M. López Muñoz
6ac28e8e19
fixed Intel Linux pp bug about <: incorrectly treated as a digraph
...
[SVN r25078]
2004-09-14 09:53:05 +00:00
John Maddock
e0b3b0418a
Added new types boost::long_long_type and boost::ulong_long_type in boost/config.hpp and applied these types in place of "long long" throughout. As a result, almost all of boost now compiles cleanly with -ansi -pedantic with gcc. Changes tested with gcc 3.3, 2.95, VC7.1 and Intel 8.
...
[SVN r24899]
2004-09-04 10:34:49 +00:00
John Maddock
3cdf8c8ed2
Fix for gcc on Win32.
...
Tidied up macro/config usage.
[SVN r24745]
2004-08-26 10:42:36 +00:00
Vladimir Prus
ed97beb51f
More V2 Jamfile tweaks.
...
[SVN r23764]
2004-07-19 07:12:45 +00:00
John Maddock
8b6ba77ba4
Added missing copyright
...
[SVN r23724]
2004-07-18 10:22:19 +00:00
John Maddock
9c48f6f31e
This file is no longer needed, as Jamfile enumerates the test files itself.
...
[SVN r22335]
2004-02-20 11:25:21 +00:00
John Maddock
d2828d68c9
GLOB rule needs absolute path when called from boost-root/status (ie when the current directory is not this directory).
...
[SVN r22334]
2004-02-20 11:23:16 +00:00
John Maddock
ffb50c36ac
Rewitten test program infrastructure so that it does not depend upon Boost.Test (which causes cyclic rebuild dependencies).
...
[SVN r22326]
2004-02-19 13:40:07 +00:00
John Maddock
cc007d4c92
Added extra test cases for unbounded arrays
...
[SVN r21962]
2004-01-26 12:17:07 +00:00
Dave Abrahams
c3724f6bea
Workaround an Intel bug; added tests for it too.
...
[SVN r21883]
2004-01-23 00:07:25 +00:00
John Maddock
76cac3e5dd
Added needed copyrights
...
[SVN r21624]
2004-01-12 13:19:06 +00:00
John Maddock
113a49560e
added is_abstract trait
...
[SVN r21622]
2004-01-12 12:46:59 +00:00
John Maddock
32f2d33eed
Added fixes for gcc, to fix remaining regressions with is_class/is_convertible and is_enum
...
[SVN r21513]
2004-01-06 13:37:10 +00:00
John Maddock
ad627feb41
Added needed extra macro parameter - previous commit was incorrect.
...
[SVN r21416]
2003-12-29 13:08:17 +00:00