Commit Graph
298 Commits
Author SHA1 Message Date
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 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 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 74e3b91d8f Make sure that aligned_storage<>::type really is a POD type.
[SVN r28475]
2005-04-25 16:42:08 +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 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 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 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 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 0349d29c67 Mode aligned_storage<>::type report true to is_pod.
[SVN r26960]
2005-01-31 13:50:40 +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
Joaquín M. López Muñoz bbbd77d3e9 fixed out-of-sync comment
[SVN r26405]
2004-12-02 18:16:19 +00:00
Joaquín M. López Muñoz 42877c1d1b GCC 2.x workaround extended to GCC < 3.2.3
[SVN r26404]
2004-12-02 18:13:29 +00:00
John Maddock 7dc55473ad Added fix for abstract template types (the fix forces instantiation of the template, and corrects problems with gcc-3.4 and VC7.1).
[SVN r26356]
2004-11-29 16:49:48 +00:00
John Maddock 23278c28f2 Renamed member function foo in is_polymorphic test code, to prevent warnings when the template argument has a function named "foo".
[SVN r25734]
2004-10-15 12:16:54 +00:00
Aleksey Gurtovoy ad5fc1a2ac workaround buggy preprocessors
[SVN r24914]
2004-09-05 10:03:28 +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
Aleksey Gurtovoy 8f2d14c5c9 merge new MPL version from 'mplbook' branch
[SVN r24874]
2004-09-02 15:41:37 +00:00
John Maddock 17c699a256 Fix for DMC compiler
[SVN r24743]
2004-08-26 10:40:39 +00:00
Douglas Gregor 4e54b5db92 Fix int/size_t issues
[SVN r24711]
2004-08-24 13:50:03 +00:00
John Maddock fa928962a6 MDC fixes from Daniel James
[SVN r24663]
2004-08-23 11:39:22 +00:00
Douglas Gregor 55e2d27da4 License update
[SVN r24598]
2004-08-19 15:23:47 +00:00
John Maddock b3d31b8e24 Renamed member check to avoid conflict with MacOS macro of the same name.
[SVN r22890]
2004-05-22 10:36:05 +00:00
John Maddock 39ce140cf7 Added comment on Intel compiler problems.
[SVN r22712]
2004-05-01 10:32:58 +00:00
Toon Knapen b291a5b304 port to IBM VisualAge
[SVN r22314]
2004-02-18 17:45:53 +00:00
John Maddock 2d74fe9a03 Added support for unbounded arrays
Added long long support to type_with_alignment (AIX fix).


[SVN r21965]
2004-01-26 12:20:03 +00:00
Aleksey Gurtovoy 4acd9c06fc DM fixes
[SVN r21930]
2004-01-25 21:34:09 +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 7f3b917cea Added workaround for gcc3.4
[SVN r21727]
2004-01-14 13:27:20 +00:00
Dave Abrahams 5359f483bc Workaround for GCC2
[SVN r21695]
2004-01-13 19:04:15 +00:00
John Maddock dca7128b46 Added is_abstract.
[SVN r21668]
2004-01-13 11:08:00 +00:00
John Maddock 113a49560e added is_abstract trait
[SVN r21622]
2004-01-12 12:46:59 +00:00
John Maddock 3db3f894df Gcc specific workaround does not work for EDG based compilers, even if they define __GNUC__.
[SVN r21597]
2004-01-11 15:58:28 +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