Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77068 - trunk/boost/functional/overloaded_function/detail
From: lorcaminiti_at_[hidden]
Date: 2012-02-18 11:11:22


Author: lcaminiti
Date: 2012-02-18 11:11:21 EST (Sat, 18 Feb 2012)
New Revision: 77068
URL: http://svn.boost.org/trac/boost/changeset/77068

Log:
Added a couple of code comments.
Text files modified:
   trunk/boost/functional/overloaded_function/detail/base.hpp | 1 +
   trunk/boost/functional/overloaded_function/detail/function_type.hpp | 1 +
   2 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/functional/overloaded_function/detail/base.hpp
==============================================================================
--- trunk/boost/functional/overloaded_function/detail/base.hpp (original)
+++ trunk/boost/functional/overloaded_function/detail/base.hpp 2012-02-18 11:11:21 EST (Sat, 18 Feb 2012)
@@ -33,6 +33,7 @@
     R (BOOST_PP_ENUM(BOOST_FUNCTIONAL_DETAIL_arity, \
             BOOST_FUNCTIONAL_DETAIL_arg_type, ~))
 
+// Do not use namespace ::detail because overloaded_function is already a class.
 namespace boost { namespace overloaded_function_detail {
 
 template<typename F>

Modified: trunk/boost/functional/overloaded_function/detail/function_type.hpp
==============================================================================
--- trunk/boost/functional/overloaded_function/detail/function_type.hpp (original)
+++ trunk/boost/functional/overloaded_function/detail/function_type.hpp 2012-02-18 11:11:21 EST (Sat, 18 Feb 2012)
@@ -22,6 +22,7 @@
 #include <boost/mpl/push_front.hpp>
 #include <boost/typeof/typeof.hpp>
 
+// Do not use namespace ::detail because overloaded_function is already a class.
 namespace boost { namespace overloaded_function_detail {
 
 // Requires: F is a monomorphic functor (i.e., has non-template `operator()`).


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