Commit Graph
467 Commits
Author SHA1 Message Date
John Maddock 4c8fca9bc9 Make is_base_of<T,T>::value true for all types T, as per TR1.
Make is_convertible<T, void>::value true for all types T, as per TR1.


[SVN r31631]
2005-11-12 17:28:37 +00:00
Dave Abrahams a9be3b15e3 Improved warning suppression for vc8
[SVN r31620]
2005-11-10 19:48:00 +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 8dbdb5315b Fix regression: operator= should return a reference.
[SVN r31316]
2005-10-14 12:12:30 +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
John Maddock d453fa3e67 Changed include style to <header> as per issue http://sourceforge.net/tracker/index.php?func=detail&aid=1079444&group_id=7586&atid=107586
Suppressed some VC++ warnings to ensure that the type_traits headers are -W4 clean.


[SVN r31218]
2005-10-07 14:26:38 +00:00
John Maddock aef81a516f Remove the warnings: they don't really work as intended.
[SVN r31154]
2005-09-30 12:43:31 +00:00
John Maddock bc4d7d7b32 Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
John Maddock a0bb26cf98 Fix type_with_alignment and aligned_storage docs mix up.
[SVN r30650]
2005-08-24 16:49:32 +00:00
John Maddock e8f1b067e4 Patch for pathological case submitted by Vladimir Plus.
[SVN r30624]
2005-08-22 11:07:37 +00:00
Hartmut Kaiser d83e054d04 Disabiguated the detail namespace.
[SVN r30558]
2005-08-12 19:06:10 +00:00
John Maddock 004a786439 Improved local documentation build.
[SVN r30479]
2005-08-05 11:44:32 +00:00
Dave Abrahams a603a6a21d WOrkaround for https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1242266&group_id=7586
[SVN r30218]
2005-07-22 16:14:42 +00:00
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