|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61832 - trunk/boost/optional
From: dgregor_at_[hidden]
Date: 2010-05-06 17:44:20
Author: dgregor
Date: 2010-05-06 17:44:18 EDT (Thu, 06 May 2010)
New Revision: 61832
URL: http://svn.boost.org/trac/boost/changeset/61832
Log:
Expose the "types" typedef of boost::optional_detail::operator_base as
public, rather than protected, since Spirit pokes at this typedef.
Text files modified:
trunk/boost/optional/optional.hpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/boost/optional/optional.hpp
==============================================================================
--- trunk/boost/optional/optional.hpp (original)
+++ trunk/boost/optional/optional.hpp 2010-05-06 17:44:18 EDT (Thu, 06 May 2010)
@@ -173,8 +173,10 @@
typedef BOOST_DEDUCED_TYPENAME is_reference<T>::type is_reference_predicate ;
+ public:
typedef BOOST_DEDUCED_TYPENAME mpl::if_<is_reference_predicate,types_when_ref,types_when_not_ref>::type types ;
+ protected:
typedef bool (this_type::*unspecified_bool_type)() const;
typedef BOOST_DEDUCED_TYPENAME types::reference_type reference_type ;
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