boostorg / exception

Boost.org exception module
http://boost.org/libs/exception
Boost Software License 1.0
16 stars 46 forks source link

added support for error_info r-value references #6

Closed rnburn closed 6 years ago

rnburn commented 9 years ago

adds support to transport exception data using move semantics

Example:

boost::exception e;
typedef boost::error_info<struct tag,Data> ErrorInfo;
Data data;
e << ErrorInfo(std::move(data));
throw e;
rnburn commented 9 years ago

I removed the default constructor and assignment operators (just implemented all of them to avoid the problem with Visual C++ 12); changed to use make_shared; and added the missing header files.

apolukhin commented 7 years ago

Looks like this was fixed in 5a040eedf54691d202e3099033d6d1c5c88a736e

jeking3 commented 6 years ago

@zajo perhaps is this was already fixed, the PR could be closed?