Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86674 - branches/release/boost/variant
From: antoshkka_at_[hidden]
Date: 2013-11-13 07:20:05


Author: apolukhin
Date: 2013-11-13 07:20:05 EST (Wed, 13 Nov 2013)
New Revision: 86674
URL: http://svn.boost.org/trac/boost/changeset/86674

Log:
Merge some changes to variant that accidentaly were not merged in r86650

Properties modified:
   branches/release/boost/variant/ (props changed)
Text files modified:
   branches/release/boost/variant/variant.hpp | 31 -------------------------------
   1 files changed, 0 insertions(+), 31 deletions(-)

Modified: branches/release/boost/variant/variant.hpp
==============================================================================
--- branches/release/boost/variant/variant.hpp Tue Nov 12 22:22:55 2013 (r86673)
+++ branches/release/boost/variant/variant.hpp 2013-11-13 07:20:05 EST (Wed, 13 Nov 2013) (r86674)
@@ -360,37 +360,6 @@
 #if defined BOOST_MSVC
 # pragma warning( pop )
 #endif
-
-#else // MSVC6
-
-private: // helpers, for visitor interface (below)
-
- T& execute(T& operand, mpl::true_) const
- {
- return operand;
- }
-
- template <typename U>
- T& execute(U& operand, mpl::false_) const
- {
- // logical error to be here: see precondition above
- BOOST_ASSERT(false);
- return ::boost::detail::variant::forced_return< T& >();
- }
-
-public: // visitor interface
-
- template <typename U>
- T& operator()(U& operand) const
- {
- typedef typename is_same< U,T >::type
- U_is_T;
-
- return execute(operand, U_is_T());
- }
-
-#endif // MSVC6 workaround
-
 };
 
 ///////////////////////////////////////////////////////////////////////////////


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