mirror of
https://github.com/boostorg/exception.git
synced 2025-07-16 22:12:05 +02:00
removed explicit copy ctor in boost::exception
[SVN r48483]
This commit is contained in:
@ -14,7 +14,7 @@ boost
|
|||||||
{
|
{
|
||||||
class exception;
|
class exception;
|
||||||
|
|
||||||
template <class T>
|
template <class>
|
||||||
class shared_ptr;
|
class shared_ptr;
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
@ -56,11 +56,6 @@ boost
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
exception( exception const & e ):
|
|
||||||
data_(e.data_)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual ~exception() throw()=0;
|
virtual ~exception() throw()=0;
|
||||||
|
|
||||||
char const *
|
char const *
|
||||||
@ -80,11 +75,11 @@ boost
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
friend void exception_detail::set_data( exception const *, shared_ptr<exception_detail::error_info_base const> const &, exception_detail::type_info_ const & );
|
|
||||||
|
|
||||||
template <class ErrorInfo>
|
template <class ErrorInfo>
|
||||||
friend shared_ptr<typename ErrorInfo::value_type const> exception_detail::get_data( exception const & );
|
friend shared_ptr<typename ErrorInfo::value_type const> exception_detail::get_data( exception const & );
|
||||||
|
|
||||||
|
friend void exception_detail::set_data( exception const *, shared_ptr<exception_detail::error_info_base const> const &, exception_detail::type_info_ const & );
|
||||||
|
|
||||||
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