Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73270 - sandbox/conversion/libs/conversion_ext/example
From: vicente.botet_at_[hidden]
Date: 2011-07-21 04:38:11


Author: viboes
Date: 2011-07-21 04:38:08 EDT (Thu, 21 Jul 2011)
New Revision: 73270
URL: http://svn.boost.org/trac/boost/changeset/73270

Log:
conversion: fix rename Mcf by Implicitly
Text files modified:
   sandbox/conversion/libs/conversion_ext/example/overload.cpp | 14 ++++++++------
   1 files changed, 8 insertions(+), 6 deletions(-)

Modified: sandbox/conversion/libs/conversion_ext/example/overload.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/example/overload.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/example/overload.cpp 2011-07-21 04:38:08 EDT (Thu, 21 Jul 2011)
@@ -140,29 +140,31 @@
 }
 void impl_extrinsic_test()
 {
+#if 0
   //[OVERLOAD_CPP_IMPL_EXTRINSIC
- //ImplTest<ExtrCvtToInt>::whichOverload(); // compile fail
- //ImplTest<ExtrCvtToString>::whichOverload(); // compile fail
- //ImplTest<ExtrCvtINtAndString>::whichOverload(); // compile fail
+ ImplTest<ExtrCvtToInt>::whichOverload(); // compile fail
+ ImplTest<ExtrCvtToString>::whichOverload(); // compile fail
+ ImplTest<ExtrCvtINtAndString>::whichOverload(); // compile fail
   //]
+#endif
 }
 
 void implicitly_extrinsic_test()
 {
 #if defined(BOOST_CONVERSION_IMPLICITLY_ENABLED)
   //[OVERLOAD_CPP_IMPLICITLY
- McfTest<IntrCvtToInt>::whichOverload();
+ ImplicitlyTest<IntrCvtToInt>::whichOverload();
   ImplicitlyTest<IntrCvtToString>::whichOverload();
   ImplicitlyTest<ExtrCvtToInt>::whichOverload();
   ImplicitlyTest<ExtrCvtToString>::whichOverload();
   //ImplicitlyTest<ExtrCvtINtAndString>::whichOverload(); // compile fail
   //]
 #endif
- #if 0
+#if 0
   //[OVERLOAD_CPP_IMPLICITLY_EXPLICIT
   ImplicitlyTest<ExtrExplicitCvtToInt>::whichOverload();
   //]
- #endif
+#endif
 }
 
 int main()


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