]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/exception/test/error_info_rv_test.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / exception / test / error_info_rv_test.cpp
1 //Copyright (c) 2006-2015 Emil Dotchevski and Reverge Studios, Inc.
2
3 //Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #include <boost/exception/info.hpp>
7
8 #ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
9 int
10 main()
11 {
12 return 0;
13 }
14 #else
15 template <class E,class I>
16 E const &
17 add_info( E const & e, I i )
18 {
19 return e << std::move(i);
20 }
21 #include "error_info_test.hpp"
22 #endif