forked from boostorg/throw_exception
rvalue support in error_info
This commit is contained in:
@ -182,6 +182,18 @@ boost
|
|||||||
template <>
|
template <>
|
||||||
struct get_info<throw_line>;
|
struct get_info<throw_line>;
|
||||||
|
|
||||||
|
template <class>
|
||||||
|
struct set_info_rv;
|
||||||
|
|
||||||
|
template <>
|
||||||
|
struct set_info_rv<throw_function>;
|
||||||
|
|
||||||
|
template <>
|
||||||
|
struct set_info_rv<throw_file>;
|
||||||
|
|
||||||
|
template <>
|
||||||
|
struct set_info_rv<throw_line>;
|
||||||
|
|
||||||
char const * get_diagnostic_information( exception const &, char const * );
|
char const * get_diagnostic_information( exception const &, char const * );
|
||||||
|
|
||||||
void copy_boost_exception( exception *, exception const * );
|
void copy_boost_exception( exception *, exception const * );
|
||||||
@ -264,6 +276,11 @@ boost
|
|||||||
friend struct exception_detail::get_info<throw_function>;
|
friend struct exception_detail::get_info<throw_function>;
|
||||||
friend struct exception_detail::get_info<throw_file>;
|
friend struct exception_detail::get_info<throw_file>;
|
||||||
friend struct exception_detail::get_info<throw_line>;
|
friend struct exception_detail::get_info<throw_line>;
|
||||||
|
template <class>
|
||||||
|
friend struct exception_detail::set_info_rv;
|
||||||
|
friend struct exception_detail::set_info_rv<throw_function>;
|
||||||
|
friend struct exception_detail::set_info_rv<throw_file>;
|
||||||
|
friend struct exception_detail::set_info_rv<throw_line>;
|
||||||
friend void exception_detail::copy_boost_exception( exception *, exception const * );
|
friend void exception_detail::copy_boost_exception( exception *, exception const * );
|
||||||
#endif
|
#endif
|
||||||
mutable exception_detail::refcount_ptr<exception_detail::error_info_container> data_;
|
mutable exception_detail::refcount_ptr<exception_detail::error_info_container> data_;
|
||||||
|
Reference in New Issue
Block a user