Commit Graph
74 Commits
Author SHA1 Message Date
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
John Maddock 592f7512af Fixed some issues thrown up by CW9.1:
Some type had trivial operations that were not flagged as such.
Some incomplete types were passed to templates that require a complete type as a precondition.


[SVN r21414]
2003-12-29 11:39:40 +00:00
John Maddock 970a90b365 Changed boost::true_type/false_type to mpl::true_/false_
[SVN r21335]
2003-12-19 12:11:55 +00:00
John Maddock b55dc5cc24 Added true_type and false_type to aid user-defined specialisations.
[SVN r21269]
2003-12-15 12:01:53 +00:00
John Maddock 949d126e75 stripped tabs
[SVN r21012]
2003-11-30 13:08:35 +00:00
John Maddock 7cd3d12f92 remove tabs
[SVN r20987]
2003-11-28 15:19:31 +00:00
John Maddock 5e66227e35 Changed header include form so that it won't break bjam dependency analysis anymore.
[SVN r20636]
2003-11-04 11:32:42 +00:00
John Maddock b509fb943a Changed over to new boost license
[SVN r20275]
2003-10-07 10:51:54 +00:00
Vladimir Prus f737ceb667 Add V2 Jamfile
[SVN r20271]
2003-10-07 08:10:42 +00:00
Dave Abrahams 416038f37d Use conforming is_class for EDG compilers
Make is_enum work for class types which are convertible to anything at
all (on many compilers).

smart_ptr library workarounds for __MWERKS__ (must use member function
pointer for unspecified_bool_type).


[SVN r20244]
2003-10-02 17:49:06 +00:00
Dave Abrahams df11683ba2 Use the import rule
[SVN r19968]
2003-09-08 17:38:49 +00:00
Beman Dawes b7b12865fb Added warning in the case that no intrinsic support is available.
[SVN r18878]
2003-06-27 16:01:09 +00:00
Beman Dawes afc8b2c0c7 chg tag to <note>...</note>
[SVN r18787]
2003-06-12 14:30:53 +00:00
John Maddock b76189ce85 Added warning in the case that no intrinsic support is available.
[SVN r18779]
2003-06-11 12:19:31 +00:00