mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 13:07:17 +02:00
Fixes #185 ("Including headers adds exports"), replacing BOOST_SYMBOL_EXPORT with BOOST_SYMBOL_VISIBLE.
This commit is contained in:
@ -1344,6 +1344,7 @@ use [*Boost.Container]? There are several reasons for that:
|
||||
* [@https://github.com/boostorg/container/issues/150 GitHub #150: ['"Use std::contiguous_iterator_tag if available"]].
|
||||
* [@https://github.com/boostorg/container/issues/180 GitHub #180: ['"polymorphic_allocator's copy special member functions are not noexcept"]].
|
||||
* [@https://github.com/boostorg/container/issues/184 GitHub #184: ['"Issues with custom exceptions implementation"]].
|
||||
* [@https://github.com/boostorg/container/issues/185 GitHub #185: ['"Including headers adds exports"]].
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -47,7 +47,7 @@ typedef std::runtime_error runtime_error_t;
|
||||
namespace boost {
|
||||
namespace container {
|
||||
|
||||
class BOOST_SYMBOL_EXPORT exception
|
||||
class BOOST_SYMBOL_VISIBLE exception
|
||||
: public ::std::exception
|
||||
{
|
||||
typedef ::std::exception std_exception_t;
|
||||
@ -66,7 +66,7 @@ class BOOST_SYMBOL_EXPORT exception
|
||||
const char *m_msg;
|
||||
};
|
||||
|
||||
class BOOST_SYMBOL_EXPORT bad_alloc
|
||||
class BOOST_SYMBOL_VISIBLE bad_alloc
|
||||
: public exception
|
||||
{
|
||||
public:
|
||||
@ -77,7 +77,7 @@ class BOOST_SYMBOL_EXPORT bad_alloc
|
||||
|
||||
typedef bad_alloc bad_alloc_t;
|
||||
|
||||
class BOOST_SYMBOL_EXPORT out_of_range
|
||||
class BOOST_SYMBOL_VISIBLE out_of_range
|
||||
: public exception
|
||||
{
|
||||
public:
|
||||
@ -88,7 +88,7 @@ class BOOST_SYMBOL_EXPORT out_of_range
|
||||
|
||||
typedef out_of_range out_of_range_t;
|
||||
|
||||
class BOOST_SYMBOL_EXPORT length_error
|
||||
class BOOST_SYMBOL_VISIBLE length_error
|
||||
: public exception
|
||||
{
|
||||
public:
|
||||
@ -99,7 +99,7 @@ class BOOST_SYMBOL_EXPORT length_error
|
||||
|
||||
typedef out_of_range length_error_t;
|
||||
|
||||
class BOOST_SYMBOL_EXPORT logic_error
|
||||
class BOOST_SYMBOL_VISIBLE logic_error
|
||||
: public exception
|
||||
{
|
||||
public:
|
||||
@ -110,7 +110,7 @@ class BOOST_SYMBOL_EXPORT logic_error
|
||||
|
||||
typedef logic_error logic_error_t;
|
||||
|
||||
class BOOST_SYMBOL_EXPORT runtime_error
|
||||
class BOOST_SYMBOL_VISIBLE runtime_error
|
||||
: public exception
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user