From 16f0a0aaafe5b66518e6d73a7fecf4c59ae6f2c4 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 6 May 2010 21:44:18 +0000 Subject: [PATCH] Expose the "types" typedef of boost::optional_detail::operator_base as public, rather than protected, since Spirit pokes at this typedef. [SVN r61832] --- include/boost/optional/optional.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/optional/optional.hpp b/include/boost/optional/optional.hpp index 01db469..0dd1c62 100644 --- a/include/boost/optional/optional.hpp +++ b/include/boost/optional/optional.hpp @@ -173,8 +173,10 @@ class optional_base : public optional_tag typedef BOOST_DEDUCED_TYPENAME is_reference::type is_reference_predicate ; + public: typedef BOOST_DEDUCED_TYPENAME mpl::if_::type types ; + protected: typedef bool (this_type::*unspecified_bool_type)() const; typedef BOOST_DEDUCED_TYPENAME types::reference_type reference_type ;