Boost logo

Boost-Commit :

From: dave_at_[hidden]
Date: 2008-03-30 13:19:08


Author: dave
Date: 2008-03-30 13:19:07 EDT (Sun, 30 Mar 2008)
New Revision: 43951
URL: http://svn.boost.org/trac/boost/changeset/43951

Log:
Clean up a comment that said "I don't know what the standard says
about this," now that I do know.

Text files modified:
   trunk/boost/archive/detail/register_archive.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/archive/detail/register_archive.hpp
==============================================================================
--- trunk/boost/archive/detail/register_archive.hpp (original)
+++ trunk/boost/archive/detail/register_archive.hpp 2008-03-30 13:19:07 EDT (Sun, 30 Mar 2008)
@@ -6,12 +6,12 @@
 
 namespace boost { namespace archive { namespace detail {
 
-// This is for the sake of GCC 4.1 et. al, which doesn't seem to see
-// the instantiate_ptr_serialization overloads generated by
-// BOOST_SERIALIZATION_REGISTER_ARCHIVE if they lexically follow the
-// call *unless* they are in an associated namespace of one of the
-// arguments. I am not 100% sure of what the standard says on this
-// point, and am investigating. - Dave A.
+// No instantiate_ptr_serialization overloads generated by
+// BOOST_SERIALIZATION_REGISTER_ARCHIVE that lexically follow the call
+// will be seen *unless* they are in an associated namespace of one of
+// the arguments, so we pass one of these along to make sure this
+// namespace is considered. See temp.dep.candidate (14.6.4.2) in the
+// standard.
 struct adl_tag {};
 
 template <class Archive, class Serializable>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk