diff --git a/compressed_pair.htm b/compressed_pair.htm index abbd570..755bb56 100644 --- a/compressed_pair.htm +++ b/compressed_pair.htm @@ -5,7 +5,7 @@ content="text/html; charset=iso-8859-1"> - +
Note that compressed_pair can not be instantiated if either of -the template arguments is an enumerator type, unless there is -compiler support for boost::is_enum, or if boost::is_enum is -specialised for the enumerator type.
+the template arguments is a union type, unless there is compiler +support for boost::is_union, or if boost::is_union is specialised +for the union type. -Finally, compressed_pair requires compiler support for partial -specialisation of class templates - without that support -compressed_pair behaves just like std::pair.
+Finally, a word of caution for Visual C++ 6 users: if either +argument is an empty type, then assigning to that member will +produce memory corruption, unless the empty type has a "do +nothing" assignment operator defined. This is due to a bug +in the way VC6 generates implicit assignment operators.
Revised 08 March 2000
+Revised 08 May 2001
© Copyright boost.org 2000. Permission to copy, use, modify, sell and distribute this document is granted provided this @@ -86,7 +90,8 @@ Hinnant and John Maddock.
Maintained by John Maddock, the latest version of this file can be found at www.boost.org, and the boost -discussion list at www.yahoogroups.com/list/boost.
+discussion list at www.yahoogroups.com/list/boost.