Update of /cvsroot/boost/boost/boost/archive/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8330
Modified Files:
oserializer.hpp
Log Message:
improved comment
Index: oserializer.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/archive/detail/oserializer.hpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- oserializer.hpp 10 Nov 2006 21:15:19 -0000 1.39
+++ oserializer.hpp 16 Jul 2007 16:27:33 -0000 1.40
@@ -554,12 +554,13 @@
template<class Archive, class T>
inline void save(Archive & ar, T &t){
- // if your program traps here, it indicates taht your doing one of the
following:
+ // if your program traps here, it indicates that your doing one of the
following:
// a) serializing an object of a type marked "track_never" through a
pointer.
// b) saving an non-const object of a type not markd "track_never)
// Either of these conditions may be an indicator of an error usage of the
// serialization library and should be double checked. See documentation
on
- // object tracking.
+ // object tracking. Also, see the "rationale" section of the documenation
+ // for motivation for this checking.
BOOST_STATIC_ASSERT(check_tracking<T>::value);
save(ar, const_cast<const T &>(t));
}
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs