|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72750 - in sandbox/conversion/libs/conversion_ext: example test
From: vicente.botet_at_[hidden]
Date: 2011-06-25 09:14:06
Author: viboes
Date: 2011-06-25 09:14:05 EDT (Sat, 25 Jun 2011)
New Revision: 72750
URL: http://svn.boost.org/trac/boost/changeset/72750
Log:
Conversion: Added overload test (works on gcc4.5.2-0x and gcc4.6.0-0x)
Text files modified:
sandbox/conversion/libs/conversion_ext/example/overload.cpp | 4 +++-
sandbox/conversion/libs/conversion_ext/test/Jamfile.v2 | 2 ++
2 files changed, 5 insertions(+), 1 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-06-25 09:14:05 EDT (Sat, 25 Jun 2011)
@@ -127,9 +127,11 @@
McfTest<ExtrCvtToString>::whichOverload();
//McfTest<ExtrCvtINtAndString>::whichOverload(); // compile fail
//]
+ #if 0
//[OVERLOAD_CPP_MCF_EXPLICIT
McfTest<ExtrExplicitCvtToInt>::whichOverload();
//]
+ #endif
}
int main()
@@ -138,7 +140,7 @@
impl_intrinsic_test();
mcf_extrinsic_test();
- return 1;
+ return 0;
}
//]
Modified: sandbox/conversion/libs/conversion_ext/test/Jamfile.v2
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/Jamfile.v2 (original)
+++ sandbox/conversion/libs/conversion_ext/test/Jamfile.v2 2011-06-25 09:14:05 EDT (Sat, 25 Jun 2011)
@@ -77,6 +77,8 @@
[ run ../example/even.cpp ]
[ run ../example/swap.cpp ]
[ run ../example/no_throw.cpp ]
+ [ run ../example/overload.cpp ]
+ [ run ../example/fallback.cpp ]
;
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