From 67d235059a831f5d0e281bd97c3960be6bcae33a Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Sun, 31 Aug 2008 04:05:19 +0000 Subject: [PATCH] nitpicking [SVN r48488] --- include/boost/exception/exception.hpp | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp index 3e7cf27..dcc6d43 100644 --- a/include/boost/exception/exception.hpp +++ b/include/boost/exception/exception.hpp @@ -119,6 +119,12 @@ boost template class shared_ptr; + template + class error_info; + + template + E const & operator<<( E const &, error_info const & ); + namespace exception_detail { @@ -135,9 +141,7 @@ boost }; template - shared_ptr get_data( exception const & ); - - void set_data( exception const *, shared_ptr const &, type_info_ const & ); + shared_ptr get_info( exception const & ); } class @@ -177,10 +181,11 @@ boost private: - template - friend shared_ptr exception_detail::get_data( exception const & ); + template + friend E const & operator<<( E const &, error_info const & ); - friend void exception_detail::set_data( exception const *, shared_ptr const &, exception_detail::type_info_ const & ); + template + friend shared_ptr exception_detail::get_info( exception const & ); mutable exception_detail::refcount_ptr data_; };