diff --git a/doc/contents.html b/doc/contents.html index b38e756f..6d6af85b 100644 --- a/doc/contents.html +++ b/doc/contents.html @@ -87,6 +87,7 @@ function initialize() {
is_virtual_base<T> to automatically
- eliminate redundancy in virtual base class serialization.
new/delete operators.
std::string
diff --git a/doc/static_warning.html b/doc/static_warning.html
index 8140c722..d3cf2835 100644
--- a/doc/static_warning.html
+++ b/doc/static_warning.html
@@ -25,7 +25,25 @@ http://www.boost.org/LICENSE_1_0.txt)
<boost/static_warning.hpp> supplies a single macro
+BOOST_STATIC_WARNING(x), which generates a compile time warning message if
+the integral-constant-expression x is not true.
++Note that if the condition is true, then the macro will generate neither +code nor data - and the macro can also be used at either namespace, +class or function scope. When used in a template, the expression x +will be evaluated at the time the template is instantiated; this is +particularly useful for validating template parameters. +
+It is intended that the functioning of BOOST_STATIC_WARNING(x)
+be identical to that of BOOST_STATIC_ASSERT(x)
+except that rather than resulting in a compilation error, it will result in
+a compiler warning. In all other respects it should be the same. So
+for more information on using BOOST_STATIC_WARNING(x)
+consult the documentation for BOOST_STATIC_ASSERT(x)
+here.
+
© Copyright Robert Ramey 2002-2004.
Distributed under the Boost Software License, Version 1.0. (See
diff --git a/doc/traits.html b/doc/traits.html
index 5db668e3..01dbca79 100644
--- a/doc/traits.html
+++ b/doc/traits.html
@@ -471,6 +471,32 @@ and template parameters should be assigned according to the following table:
+
+IsWrapperis the type a wrapper?mpl::false_
mpl::true_mpl::false_Bitwise serialization
+Some simple classes could be serialized just by directly copying all bits
+of the class. This is, in particular, the case for POD data types containing
+no pointer members, and which are neither versioned nor tracked. Some archives,
+such as non-portable binary archives can make us of this information to
+substantially speed up serialization.
+
+To indicate the possibility of bitwise serialization the type trait defined
+in the header
+file is_bitwise_serializable.hpp
+is used:
+
+is used, and can be specialized for other classes. The specialization
+is made easy by the corresponding macro:
+
+namespace boost { namespace serialization {
+ template
+
+BOOST_IS_BITWISE_SERIALIZABLE(my_class)
+
© Copyright Robert Ramey 2002-2004 and Matthias Troyer 2006. Distributed under the Boost Software License, Version 1.0. (See