bug fix in the decoupling of info.hpp from get_error_info.hpp.

[SVN r48551]
This commit is contained in:
Emil Dotchevski
2008-09-02 23:13:06 +00:00
parent 5a9532783d
commit 8310c9831f
3 changed files with 55 additions and 37 deletions

View File

@ -30,6 +30,32 @@ boost
}
};
}
template <class Tag,class T>
class
error_info:
public exception_detail::error_info_base
{
public:
typedef T value_type;
error_info( value_type const & value );
~error_info() throw();
value_type const &
value() const
{
return value_;
}
private:
char const * tag_typeid_name() const;
std::string value_as_string() const;
value_type const value_;
};
}
#endif