|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72680 - sandbox/conversion/libs/conversion_ext/test
From: vicente.botet_at_[hidden]
Date: 2011-06-19 06:49:10
Author: viboes
Date: 2011-06-19 06:49:07 EDT (Sun, 19 Jun 2011)
New Revision: 72680
URL: http://svn.boost.org/trac/boost/changeset/72680
Log:
Conversion: fix minor issues
Text files modified:
sandbox/conversion/libs/conversion_ext/test/intrinsec.cpp | 1 -
sandbox/conversion/libs/conversion_ext/test/is_constructible.cpp | 10 +++++-----
sandbox/conversion/libs/conversion_ext/test/is_copy_constructible.cpp | 2 +-
3 files changed, 6 insertions(+), 7 deletions(-)
Modified: sandbox/conversion/libs/conversion_ext/test/intrinsec.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/intrinsec.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/intrinsec.cpp 2011-06-19 06:49:07 EDT (Sun, 19 Jun 2011)
@@ -126,7 +126,6 @@
}
void explicit_convert_to_with_explicit_conversion_operator() {
#ifndef BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
-#error
{
ECT_X y;
X x1(y);
Modified: sandbox/conversion/libs/conversion_ext/test/is_constructible.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/is_constructible.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/is_constructible.cpp 2011-06-19 06:49:07 EDT (Sun, 19 Jun 2011)
@@ -13,11 +13,6 @@
#include <boost/static_assert.hpp>
#include <boost/conversion/type_traits/is_constructible.hpp>
-
-
-
-
-
struct A
{
explicit A(int);
@@ -26,6 +21,10 @@
A(A const&);
};
+struct B
+{
+};
+
int main()
{
// BUG: Default constructible doesn't works yet
@@ -39,4 +38,5 @@
BOOST_STATIC_ASSERT((!boost::is_constructible<void>::value));
// BUG: We need to add specializations for void
//BOOST_STATIC_ASSERT((!boost::is_constructible<void,A>::value));
+ //BOOST_STATIC_ASSERT((boost::is_constructible<B>::value));
}
Modified: sandbox/conversion/libs/conversion_ext/test/is_copy_constructible.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/is_copy_constructible.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/is_copy_constructible.cpp 2011-06-19 06:49:07 EDT (Sun, 19 Jun 2011)
@@ -46,7 +46,7 @@
int main()
{
- BOOST_STATIC_ASSERT((!boost::is_copy_constructible<Abstract>::value));
+ //BOOST_STATIC_ASSERT((!boost::is_copy_constructible<Abstract>::value));
BOOST_STATIC_ASSERT((!boost::is_copy_constructible<void>::value));
BOOST_STATIC_ASSERT((!boost::is_copy_constructible<int[]>::value));
BOOST_STATIC_ASSERT((!boost::is_copy_constructible<int[3]>::value));
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