|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85158 - trunk/libs/any/test
From: antoshkka_at_[hidden]
Date: 2013-07-25 04:56:09
Author: apolukhin
Date: 2013-07-25 04:56:08 EDT (Thu, 25 Jul 2013)
New Revision: 85158
URL: http://svn.boost.org/trac/boost/changeset/85158
Log:
Slightly change file and test names from r85152 to better reflect test (refs #6999)
Added:
trunk/libs/any/test/any_test_temporary_to_ref_failed.cpp
- copied unchanged from r85156, trunk/libs/any/test/any_test_temporary_to_rv_failed.cpp
Deleted:
trunk/libs/any/test/any_test_temporary_to_rv_failed.cpp
Text files modified:
trunk/libs/any/test/Jamfile.v2 | 2 +-
trunk/libs/any/test/any_test_temporary_to_ref_failed.cpp | 38 ++++++++++++++++++++++++++++++++++++++
/dev/null | 38 --------------------------------------
3 files changed, 39 insertions(+), 39 deletions(-)
Modified: trunk/libs/any/test/Jamfile.v2
==============================================================================
--- trunk/libs/any/test/Jamfile.v2 Thu Jul 25 04:42:44 2013 (r85157)
+++ trunk/libs/any/test/Jamfile.v2 2013-07-25 04:56:08 EDT (Thu, 25 Jul 2013) (r85158)
@@ -10,7 +10,7 @@
[ run ../any_test.cpp ]
[ run any_test_rv.cpp ]
[ compile-fail any_cast_cv_failed.cpp ]
- [ compile-fail any_test_temporary_to_rv_failed.cpp ]
+ [ compile-fail any_test_temporary_to_ref_failed.cpp ]
[ compile-fail any_test_cv_to_rv_failed.cpp ]
;
Copied: trunk/libs/any/test/any_test_temporary_to_ref_failed.cpp (from r85156, trunk/libs/any/test/any_test_temporary_to_rv_failed.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libs/any/test/any_test_temporary_to_ref_failed.cpp 2013-07-25 04:56:08 EDT (Thu, 25 Jul 2013) (r85158, copy of r85156, trunk/libs/any/test/any_test_temporary_to_rv_failed.cpp)
@@ -0,0 +1,38 @@
+// Unit test for boost::any.
+//
+// See http://www.boost.org for most recent version, including documentation.
+//
+// Copyright Antony Polukhin, 2013.
+//
+// Distributed under the Boost
+// Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt).
+
+#include <cstdlib>
+#include <string>
+#include <utility>
+
+#include "boost/any.hpp"
+#include "../test.hpp"
+#include <boost/move/move.hpp>
+
+#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
+
+int main()
+{
+ BOOST_STATIC_ASSERT(false);
+ return EXIT_SUCCESS;
+}
+
+#else
+
+
+int main()
+{
+ int i = boost::any_cast<int&>(10);
+ (void)i;
+ return EXIT_SUCCESS;
+}
+
+#endif
+
Deleted: trunk/libs/any/test/any_test_temporary_to_rv_failed.cpp
==============================================================================
--- trunk/libs/any/test/any_test_temporary_to_rv_failed.cpp 2013-07-25 04:56:08 EDT (Thu, 25 Jul 2013) (r85157)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,38 +0,0 @@
-// Unit test for boost::any.
-//
-// See http://www.boost.org for most recent version, including documentation.
-//
-// Copyright Antony Polukhin, 2013.
-//
-// Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt).
-
-#include <cstdlib>
-#include <string>
-#include <utility>
-
-#include "boost/any.hpp"
-#include "../test.hpp"
-#include <boost/move/move.hpp>
-
-#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
-
-int main()
-{
- BOOST_STATIC_ASSERT(false);
- return EXIT_SUCCESS;
-}
-
-#else
-
-
-int main()
-{
- int i = boost::any_cast<int&>(10);
- (void)i;
- return EXIT_SUCCESS;
-}
-
-#endif
-
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