Revert "add BOOST_SYMBOL_VISIBLE to otherwise invisible classes and implement BOOST_NOEXCEPT where needed"

This reverts commit e7a7ee8018.
This commit is contained in:
Vladimir Prus
2015-04-06 12:48:20 +03:00
parent d5aaa3801a
commit 57da005e5f
4 changed files with 13 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ namespace archive {
//////////////////////////////////////////////////////////////////////
// exceptions thrown by archives
//
class BOOST_SYMBOL_VISIBLE archive_exception :
class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) archive_exception :
public virtual std::exception
{
protected:
@@ -82,13 +82,13 @@ public:
exception_code c,
const char * e1 = NULL,
const char * e2 = NULL
) BOOST_NOEXCEPT;
virtual ~archive_exception() BOOST_NOEXCEPT_OR_NOTHROW ;
virtual const char *what() const BOOST_NOEXCEPT_OR_NOTHROW ;
);
virtual ~archive_exception() throw();
virtual const char *what() const throw();
protected:
unsigned int
append(unsigned int l, const char * a);
archive_exception() BOOST_NOEXCEPT;
archive_exception();
};
}// namespace archive

View File

@@ -49,7 +49,7 @@ class codecvt_null;
template<>
class codecvt_null<char> : public std::codecvt<char, char, std::mbstate_t>
{
virtual bool do_always_noconv() const BOOST_NOEXCEPT_OR_NOTHROW {
virtual bool do_always_noconv() const throw() {
return true;
}
public:

View File

@@ -79,7 +79,7 @@ class bad_weak_ptr: public std::exception
{
public:
virtual char const * what() const BOOST_NOEXCEPT_OR_NOTHROW
virtual char const * what() const throw()
{
return "boost::bad_weak_ptr";
}