Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72259 - sandbox/conversion/libs/conversion_ext/test
From: vicente.botet_at_[hidden]
Date: 2011-05-29 04:26:34


Author: viboes
Date: 2011-05-29 04:26:33 EDT (Sun, 29 May 2011)
New Revision: 72259
URL: http://svn.boost.org/trac/boost/changeset/72259

Log:
Conversion: move dummy to conversion namespace
Text files modified:
   sandbox/conversion/libs/conversion_ext/test/extrinsec.cpp | 8 ++++----
   sandbox/conversion/libs/conversion_ext/test/helper.hpp | 8 ++++----
   sandbox/conversion/libs/conversion_ext/test/optional.cpp | 2 +-
   3 files changed, 9 insertions(+), 9 deletions(-)

Modified: sandbox/conversion/libs/conversion_ext/test/extrinsec.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/extrinsec.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/extrinsec.cpp 2011-05-29 04:26:33 EDT (Sun, 29 May 2011)
@@ -21,19 +21,19 @@
 
 void f(B) {}
 
- A convert_to(const B&, boost::dummy::type_tag<A> const&) {
+ A convert_to(const B&, boost::conversion::dummy::type_tag<A> const&) {
     return A();
   }
 
- A& assign_to(A& to, const B&, boost::dummy::type_tag<A> const&) {
+ A& assign_to(A& to, const B&, boost::conversion::dummy::type_tag<A> const&) {
     return to;
   }
 
- B convert_to(const C&, boost::dummy::type_tag<B> const&) {
+ B convert_to(const C&, boost::conversion::dummy::type_tag<B> const&) {
     return B();
   }
 
- B& assign_to(B& to, const C&, boost::dummy::type_tag<B> const&) {
+ B& assign_to(B& to, const C&, boost::conversion::dummy::type_tag<B> const&) {
     return to;
   }
 

Modified: sandbox/conversion/libs/conversion_ext/test/helper.hpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/helper.hpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/helper.hpp 2011-05-29 04:26:33 EDT (Sun, 29 May 2011)
@@ -54,18 +54,18 @@
     }
 }
 #else
- A1 convert_to(const B1&, boost::dummy::type_tag<A1> const&) {
+ A1 convert_to(const B1&, boost::conversion::dummy::type_tag<A1> const&) {
         return A1();
     }
 
- A1& assign_to(A1& to, const B1&, boost::dummy::type_tag<A1> const&) {
+ A1& assign_to(A1& to, const B1&, boost::conversion::dummy::type_tag<A1> const&) {
         return to;
     }
- A2 convert_to(const B2&, boost::dummy::type_tag<A2> const&) {
+ A2 convert_to(const B2&, boost::conversion::dummy::type_tag<A2> const&) {
         return A2();
     }
 
- A2& assign_to(A2& to, const B2&, boost::dummy::type_tag<A2> const&) {
+ A2& assign_to(A2& to, const B2&, boost::conversion::dummy::type_tag<A2> const&) {
         return to;
     }
 

Modified: sandbox/conversion/libs/conversion_ext/test/optional.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/optional.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/optional.cpp 2011-05-29 04:26:33 EDT (Sun, 29 May 2011)
@@ -17,7 +17,7 @@
 
 struct A1{};
 struct B1{};
-A1 convert_to(const B1&, boost::dummy::type_tag<A1> const&)
+A1 convert_to(const B1&, boost::conversion::dummy::type_tag<A1> const&)
 {
   return A1();
 }


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