Commit Graph
288 Commits
Author SHA1 Message Date
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
John Maddock 673f2e35d9 Intel 8 gets mixed up by is_polymorphic test code - use same workaround as MSVC.
[SVN r21361]
2003-12-21 15:54:44 +00:00
Dave Abrahams 1d0e43de3d Patched out JM's BPL-breaking change
[SVN r21289]
2003-12-16 14:16:01 +00:00
John Maddock 0081a5017d Previous version of integral_constant broke on any number of compilers, should now be fixed.
[SVN r21283]
2003-12-16 11:14:17 +00:00
Ralf W. Grosse-Kunstleve 2bce5b2c26 MIPSpro 7.3.1 workaround, as suggested by David Abrahams (thanks!)
[SVN r21275]
2003-12-15 17:20:28 +00:00
John Maddock 8aaa85b7c3 Added true_type and false_type to make user-defined specialisations easier to write.
[SVN r21268]
2003-12-15 11:58:20 +00:00
Aleksey Gurtovoy 3145bd52fe DigitalMars fixes
[SVN r21242]
2003-12-13 10:06:06 +00:00
Douglas Gregor 8ec31e802e Potential fix for Intel/Win32
[SVN r21170]
2003-12-07 17:11:11 +00:00
Douglas Gregor 4ae0967156 Removed digraph
[SVN r21169]
2003-12-07 14:31:12 +00:00
Douglas Gregor f165299dd0 - Revert to David A.'s code, that *almost* worked perfectly
- Add partial specialization of is_pod for lower_alignment<N>


[SVN r21166]
2003-12-06 23:27:28 +00:00
Douglas Gregor 755f23ceea Mark all of the has_one_T structures that we use POD types
[SVN r21142]
2003-12-04 22:21:54 +00:00