Commit Graph

252 Commits

Author SHA1 Message Date
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
Dave Abrahams
42f271a4dc Moved to much cleaner system of using BOOST_TT_BROKEN_COMPILER_SPEC
for handling vc6/7 deficiencies with iterator_traits.

Fixed a bug in iterator_facade which was causing incomplete types to
be passed through is_convertible.

Reinstated libs/utility/iterator_traits_test.cpp


[SVN r19840]
2003-08-28 16:52:02 +00:00
Beman Dawes
d8914e583b improve Intel 7.0/01 performance
[SVN r19384]
2003-07-31 01:16:32 +00:00
Beman Dawes
ae7423f9ac Partial fix for Intel 8.0
[SVN r19321]
2003-07-27 13:00:27 +00:00
Toon Knapen
eb1c21ad4c use *almost* ideal world implementation of is_convertible_basic_impl for IBM VisualAge compiler
[SVN r19293]
2003-07-24 07:41:44 +00:00
Eric Friedman
5ae6927668 Various fixes and MSVC6 workaround.
[SVN r19120]
2003-07-14 23:04:31 +00:00
Jens Maurer
35e8b1e042 use BOOST_NESTED_TEMPLATE
[SVN r19064]
2003-07-11 16:57:35 +00:00
Aleksey Gurtovoy
d234acc0c7 introduce BOOST_TT_NO_BROKEN_COMPILER_SPEC to opt out the workaround
[SVN r18879]
2003-06-27 16:13:36 +00:00
John Maddock
76ad487517 Added new macro definition: BOOST_HAS_TYPE_TRAITS_INTRINSICS
[SVN r18778]
2003-06-11 12:12:18 +00:00
Eric Friedman
37ed08578f Added boost::detail::max_align to Borland-specific implementation.
[SVN r18746]
2003-06-09 22:16:19 +00:00
Eric Friedman
26b87b8ca0 Moved align_t inside union.
[SVN r18674]
2003-06-05 05:15:04 +00:00
Eric Friedman
3706d50459 Fix in friend declarations.
[SVN r18661]
2003-06-04 04:39:18 +00:00
John Maddock
677e70fec6 Added const and volatile versions for remove pointer
[SVN r18606]
2003-05-30 11:00:04 +00:00
Eric Friedman
9cada59f67 Migrated from Sandbox CVS.
[SVN r18578]
2003-05-28 08:05:16 +00:00
Ralf W. Grosse-Kunstleve
b34dbf1312 PowerPC doesn't require strict alignment; therefore we can tolerate types with a default alignment which does not evenly divide any alignment of a POD type we can think of.
[SVN r18553]
2003-05-26 21:15:04 +00:00
John Maddock
54405cf729 stripped tabs from files
[SVN r18526]
2003-05-24 11:14:53 +00:00
Dave Abrahams
fb5108780d Use one fewer instantiations for is_pod than we used to.
[SVN r18488]
2003-05-21 22:09:37 +00:00
John Maddock
85cda0604e Added bug fix for case that a polymorphic class has a member named "foo".
[SVN r18481]
2003-05-21 11:17:09 +00:00
John Maddock
4b7ec4a6ba Previous "fix" included a bug,now fixed.
[SVN r18291]
2003-04-23 10:47:33 +00:00
John Maddock
002c331fdb warning suppression for gcc
[SVN r18273]
2003-04-17 11:20:13 +00:00
Douglas Gregor
f9b5fa44f4 Pick the first type that has the right alignment. The types are roughly ordered
based on size, so this prevents the alignment type from being much larger than
it should be.


[SVN r18258]
2003-04-16 13:36:07 +00:00
John Maddock
a7321a4260 Added function_traits include.
[SVN r18239]
2003-04-12 10:31:40 +00:00
John Maddock
311bcd7a5a Fixed gcc warning suppression
[SVN r18206]
2003-04-08 10:50:26 +00:00
Dave Abrahams
8f20b24bb5 Bump workaround version number
[SVN r18044]
2003-03-22 13:34:52 +00:00