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
Dave Abrahams
fc577f2a2d
Restore vc6/7 compatibility; reduce template instantiations.
...
[SVN r21121]
2003-12-03 13:49:08 +00:00
John Maddock
2ff80eac58
Updated license terms
...
[SVN r21120]
2003-12-03 13:34:11 +00:00
Douglas Gregor
1924600d9e
Include boost/detail/workaround.hpp before using BOOST_WORKAROUND
...
[SVN r21100]
2003-12-03 01:40:41 +00:00
John Maddock
777e629b4d
Added support for the new Borland 6.0 compiler.
...
[SVN r21036]
2003-12-01 11:53:22 +00:00
Dave Abrahams
3fe5c5fe0e
Roll back Intel-breaking changes that were intended to fix Intel.
...
[SVN r20888]
2003-11-20 21:37:33 +00:00
Douglas Gregor
372d08277f
Commit unary_traits/binary_traits compatibility patch by Thomas Witt
...
[SVN r20712]
2003-11-07 00:23:00 +00:00
Ralf W. Grosse-Kunstleve
176f89e901
obsolete workaround gcc under OS 10 removed
...
[SVN r20705]
2003-11-06 16:41:55 +00:00
Douglas Gregor
314d866dc9
Use GCC aligned attribute to simplify type_with_alignment
...
[SVN r20690]
2003-11-06 01:25:30 +00:00
John Maddock
8ed1eb51be
Changed email address to john@johnmaddock.co.uk
...
[SVN r20472]
2003-10-24 11:13:42 +00:00
John Maddock
e77b6884a7
Last fix can't be applied to Borland's compiler.
...
[SVN r20276]
2003-10-07 11:59: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
Douglas Gregor
43e9e5c7ef
- <> includes to "" includes
...
- add extra spacing around template parameters
[SVN r19911]
2003-09-03 15:19:12 +00:00
Douglas Gregor
2ffc663dd5
Also check structs with a single element of varying types when searching for a type with a particular alignment.
...
[SVN r19908]
2003-09-02 22:41:10 +00:00