Files
boost_exception/test/error_info_rv_test.cpp

23 lines
487 B
C++
Raw Normal View History

2015-03-25 14:28:54 -07:00
//Copyright (c) 2006-2015 Emil Dotchevski and Reverge Studios, Inc.
//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)
2016-10-26 12:35:25 -07:00
#include <boost/exception/info.hpp>
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
int
main()
{
return 0;
}
2015-03-25 14:28:54 -07:00
#else
template <class E,class I>
E const &
add_info( E const & e, I i )
{
return e << std::move(i);
}
2015-03-25 14:28:54 -07:00
#include "error_info_test.hpp"
#endif