Boost logo

Boost-Commit :

From: nielsdekker_at_[hidden]
Date: 2008-05-10 10:42:49


Author: niels_dekker
Date: 2008-05-10 10:42:49 EDT (Sat, 10 May 2008)
New Revision: 45264
URL: http://svn.boost.org/trac/boost/changeset/45264

Log:
Added forward declaration of boost::optional_swap_should_use_default_constructor.
Text files modified:
   trunk/boost/optional/optional_fwd.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/optional/optional_fwd.hpp
==============================================================================
--- trunk/boost/optional/optional_fwd.hpp (original)
+++ trunk/boost/optional/optional_fwd.hpp 2008-05-10 10:42:49 EDT (Sat, 10 May 2008)
@@ -10,7 +10,7 @@
 // fernando_cacciola_at_[hidden]
 //
 // Revisions:
-// 27 Apr 2008 (added forward declaration of boost::swap overload) Niels Dekker
+// 10 May 2008 (added swap related forward declaration) Niels Dekker
 //
 #ifndef BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP
 #define BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP
@@ -21,6 +21,8 @@
 
 template<class T> void swap ( optional<T>& , optional<T>& ) ;
 
+template<class T> struct optional_swap_should_use_default_constructor ;
+
 } // namespace boost
 
 #endif


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