Commit Graph
454 Commits
Author SHA1 Message Date
Dave Abrahams b6b9a01a0b Roll back "fixes" that never worked.
[SVN r29798]
2005-06-27 00:49:40 +00:00
Dave Abrahams 7e95b4e2a4 Added cv-qualification to the member pointer. The issue here is that
vc6 fails to strip const from the deduced type when a member pointer
is passed by reference to a function template (I suspect it turns the
const into a qualification on the class itself), so it may need extra
help in detecting these.


[SVN r29797]
2005-06-26 18:00:58 +00:00
Dave Abrahams 4b845146e2 Broken compiler workaround
[SVN r29781]
2005-06-24 15:39:45 +00:00
Dave Abrahams 118684962b Added cv-qualification to all the pointers. The issue here is that
vc6 fails to strip const from the deduced type when a member pointer
is passed by reference to a function template (I suspect it turns the
const into a qualification on the class itself), so it may need extra
help in detecting these.


[SVN r29778]
2005-06-24 15:31:15 +00:00
John Maddock 8b941c5876 Added Tobias Schwinger's patch for gcc-3.2: ensures function types are correctly handled.
[SVN r29737]
2005-06-22 16:59:26 +00:00
Toon Knapen edc0635813 IBM/VisualAge also supports SFINAE
[SVN r29474]
2005-06-08 08:30:37 +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 0d1dd10357 Avoid VC6 bug: don't use a common name like "binder" it throws VC6 if it's used elsewhere in the program.
[SVN r29249]
2005-05-27 17:00:27 +00:00
John Maddock 810b1a9372 HP aCC can't cope with the new warning supression code in this release, just disable it for now until someone can figure out a proper fix, or until HP fix their compiler....
[SVN r28988]
2005-05-17 11:49:35 +00:00
John Maddock d9ef904fa1 Added VC++ intrinsic support.
Added intrinsic-hook docs.


[SVN r28824]
2005-05-11 14:32:21 +00:00
John Maddock 955177b624 Change static assertion so that it doesn't cause a warning with VC8.
[SVN r28772]
2005-05-09 16:19:05 +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 c0c0da2eb6 Added intrinsic support for has_nothrow* traits.
Enabled intrinsic support for VC8.


[SVN r28660]
2005-05-05 16:18:00 +00:00
Rene Rivera 33b763e752 Don't provide T[] specializations for CodeWarrior as it can't differentiate between T[n] and T[].
[SVN r28480]
2005-04-26 05:05:21 +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 74e3b91d8f Make sure that aligned_storage<>::type really is a POD type.
[SVN r28475]
2005-04-25 16:42:08 +00:00
John Maddock 7c8c40f0fa Fix up docs to point to new BoostBook versions.
[SVN r28460]
2005-04-24 12:01:56 +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 ff5d236eeb Only enable __stdcall function support when _MSC_EXTENSIONS is defined (rather than _MSC_VER).
[SVN r28388]
2005-04-21 16:07:56 +00:00
John Maddock 55b227c621 Fixes for is_base_and_derived when compiling with /vmg on VC7.1.
[SVN r28387]
2005-04-21 15:58:33 +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 c5d028b87e Fixed library information in docs.
Updated examples to match new docs.


[SVN r28289]
2005-04-17 10:45:13 +00:00
John Maddock a94ec173f1 Added new style docs.
[SVN r28279]
2005-04-16 16:29:33 +00:00
John Maddock 3086f4144f Need to include the correct MPL helper-header to #undef macros after use.
[SVN r28277]
2005-04-16 12:44:26 +00:00
John Maddock 9ca0221b86 Testing __stdcall etc functions with is_member_function_pointer doesn't work with Borland C++, so disable it.
[SVN r27943]
2005-04-03 10:05:04 +00:00
John Maddock 2de95cfbf7 Fixed broken compiler workaround logic (it was previously the wrong way around).
[SVN r27863]
2005-03-29 11:17:30 +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 6a9d90291d Fixed is_convertible to use the correct config macro before using is_abstract.
Removed dead file.


[SVN r27806]
2005-03-24 18:18:36 +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
John Maddock 7ef0acbb18 Sunpro 5.7 fixes from Steve Clamage
[SVN r27695]
2005-03-16 12:22:48 +00:00
Toon Knapen 6e31d51033 aCC does not allow UDT's passed via an ellipsis
[SVN r27394]
2005-02-15 21:40:26 +00:00
Thorsten Jørgen Ottosen cccfc979be *** empty log message ***
[SVN r27364]
2005-02-13 22:29:22 +00:00
Thorsten Jørgen Ottosen b4bd9ff9df *** empty log message ***
[SVN r27323]
2005-02-11 17:25:57 +00:00
John Maddock 3f8c89fde4 Changed include order to fix Borland 5.5.1 compiler errors (and yes just changing the order is enough to fix the issue - it should really make no difference).
[SVN r27307]
2005-02-10 12:53:20 +00:00
John Maddock 3bfee8baa6 Added a couple of extra tests
[SVN r27146]
2005-02-05 12:49:41 +00:00
John Maddock 17e53bc1be Unified new and old versions of aligned_storage.
[SVN r27145]
2005-02-05 12:49:06 +00:00
John Maddock 30693414d1 pre-processor logic was previously incorrect (missing !).
[SVN r27144]
2005-02-05 12:42:22 +00:00
John Maddock 8b40505dfa Include the right headers!
[SVN r27056]
2005-02-03 13:54:51 +00:00
John Maddock 710d73bed8 Fix for old and broken EDG compilers
[SVN r27055]
2005-02-03 13:54:18 +00:00
John Maddock fa671bba10 gcc fix.
[SVN r26987]
2005-02-01 11:01:02 +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 0349d29c67 Mode aligned_storage<>::type report true to is_pod.
[SVN r26960]
2005-01-31 13:50:40 +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 07c3946e77 Make is_enum work with types that can not be converted to references (incomplete arrays for example).
[SVN r26936]
2005-01-30 15:41:12 +00:00
John Maddock 945a5e3c82 Make is_abstract work with non-object types (function and incomplete type for example).
[SVN r26935]
2005-01-30 15:40:10 +00:00
John Maddock 8fa22b8024 Modified to use BOOST_NO_IS_ABSTRACT
[SVN r26427]
2004-12-04 13:38:57 +00:00