|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73261 - sandbox/opaque/boost/opaque/meta_mixin
From: vicente.botet_at_[hidden]
Date: 2011-07-20 13:18:23
Author: viboes
Date: 2011-07-20 13:18:22 EDT (Wed, 20 Jul 2011)
New Revision: 73261
URL: http://svn.boost.org/trac/boost/changeset/73261
Log:
Opaque: replace convert_to by explicit_convert_to
Text files modified:
sandbox/opaque/boost/opaque/meta_mixin/operators.hpp | 4 ++--
sandbox/opaque/boost/opaque/meta_mixin/using_explicit_conversion_to_ut_hierarchy.hpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: sandbox/opaque/boost/opaque/meta_mixin/operators.hpp
==============================================================================
--- sandbox/opaque/boost/opaque/meta_mixin/operators.hpp (original)
+++ sandbox/opaque/boost/opaque/meta_mixin/operators.hpp 2011-07-20 13:18:22 EDT (Wed, 20 Jul 2011)
@@ -66,7 +66,7 @@
#include <boost/config.hpp>
#include <boost/opaque/meta_mixin/placeholder.hpp>
#if !defined(BOOST_OPAQUE_NOT_DEPENDS_ON_CONVERSION)
-#include <boost/conversion/convert_to.hpp>
+#include <boost/conversion/explicit_convert_to.hpp>
#endif
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS_BUG
@@ -144,7 +144,7 @@
template <typename Final, typename Base>
struct type: Base {
#if !defined(BOOST_OPAQUE_NOT_DEPENDS_ON_CONVERSION) || defined(BOOST_OPAQUE_DOXYGEN_INVOKED)
- friend T convert_to(Final const& rhs,
+ friend T explicit_convert_to(Final const& rhs,
boost::dummy::type_tag<T> const&)
{
return T(Final::underlying(rhs));
Modified: sandbox/opaque/boost/opaque/meta_mixin/using_explicit_conversion_to_ut_hierarchy.hpp
==============================================================================
--- sandbox/opaque/boost/opaque/meta_mixin/using_explicit_conversion_to_ut_hierarchy.hpp (original)
+++ sandbox/opaque/boost/opaque/meta_mixin/using_explicit_conversion_to_ut_hierarchy.hpp 2011-07-20 13:18:22 EDT (Wed, 20 Jul 2011)
@@ -24,7 +24,7 @@
#include <boost/type_traits/is_base_of.hpp>
#include <boost/mpl/and.hpp>
#if !defined(BOOST_OPAQUE_NOT_DEPENDS_ON_CONVERSION)
-#include <boost/conversion/convert_to.hpp>
+#include <boost/conversion/explicit_convert_to.hpp>
#endif
namespace boost {
namespace opaque {
@@ -77,7 +77,7 @@
mpl::and_<is_class<UT>, is_base_of<BaseClass, UT> >::value>
{
#if !defined(BOOST_OPAQUE_NOT_DEPENDS_ON_CONVERSION) || defined(BOOST_OPAQUE_DOXYGEN_INVOKED)
- friend UT convert_to(Final const& rhs,
+ friend UT explicit_convert_to(Final const& rhs,
boost::dummy::type_tag<UT> const&)
{
return Final::final(&rhs).underlying();
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