]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/any/test/any_test_cv_to_rv_failed.cpp
1 // Unit test for boost::any.
3 // See http://www.boost.org for most recent version, including documentation.
5 // Copyright Antony Polukhin, 2013-2014.
7 // Distributed under the Boost
8 // Software License, Version 1.0. (See accompanying file
9 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt).
15 #include "boost/any.hpp"
17 #include <boost/move/move.hpp>
19 #ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
23 BOOST_STATIC_ASSERT(false);
32 boost::any
const cvalue(10);
33 int i
= boost::any_cast
<int&&>(cvalue
);