forked from boostorg/smart_ptr
Generously dispense BOOST_SYMBOL_VISIBLE
This commit is contained in:
@@ -424,7 +424,7 @@ private:
|
|||||||
struct sp_default { };
|
struct sp_default { };
|
||||||
|
|
||||||
template<class T, bool E = sp_use_construct<T>::value>
|
template<class T, bool E = sp_use_construct<T>::value>
|
||||||
class sp_array_base
|
class BOOST_SYMBOL_VISIBLE sp_array_base
|
||||||
: public sp_counted_base {
|
: public sp_counted_base {
|
||||||
typedef typename T::type allocator;
|
typedef typename T::type allocator;
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <machine/sys/inline.h>
|
#include <machine/sys/inline.h>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
@@ -71,7 +72,7 @@ inline int atomic_conditional_increment( int * pw )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <builtins.h>
|
#include <builtins.h>
|
||||||
#include <sys/atomic_op.h>
|
#include <sys/atomic_op.h>
|
||||||
|
|
||||||
@@ -63,7 +64,7 @@ inline int32_t atomic_conditional_increment( int32_t * pw )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
@@ -63,7 +64,7 @@ inline boost::int_least32_t atomic_conditional_increment( atomic_int_least32_t *
|
|||||||
# pragma clang diagnostic ignored "-Wweak-vtables"
|
# pragma clang diagnostic ignored "-Wweak-vtables"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -25,6 +25,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -91,7 +92,7 @@ store:
|
|||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -26,6 +26,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -79,7 +80,7 @@ inline int atomic_conditional_increment( int * pw )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -78,7 +79,7 @@ inline int atomic_conditional_increment( int * pw )
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -108,7 +109,7 @@ inline int atomic_conditional_increment( int * pw )
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -25,6 +25,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -102,7 +103,7 @@ inline int atomic_conditional_increment( int * pw )
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
// Thanks to Michael van der Westhuizen
|
// Thanks to Michael van der Westhuizen
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <inttypes.h> // int32_t
|
#include <inttypes.h> // int32_t
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
@@ -87,7 +88,7 @@ inline int32_t atomic_conditional_increment( int32_t * pw )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -25,6 +25,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -94,7 +95,7 @@ inline int atomic_conditional_increment( int * pw )
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -26,7 +27,7 @@ namespace boost
|
|||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
#include <boost/assert.hpp>
|
#include <boost/assert.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
@@ -28,7 +29,7 @@ namespace boost
|
|||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
// Thanks to Michael van der Westhuizen
|
// Thanks to Michael van der Westhuizen
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <inttypes.h> // uint32_t
|
#include <inttypes.h> // uint32_t
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
@@ -82,7 +83,7 @@ inline uint32_t atomic_conditional_increment( uint32_t * pw )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <atomic.h>
|
#include <atomic.h>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
@@ -29,7 +30,7 @@ namespace boost
|
|||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
#include <boost/smart_ptr/detail/spinlock_pool.hpp>
|
#include <boost/smart_ptr/detail/spinlock_pool.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -51,7 +52,7 @@ inline int atomic_conditional_increment( int * pw )
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
@@ -57,7 +58,7 @@ inline std::int_least32_t atomic_conditional_increment( std::atomic_int_least32_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#if defined( __ia64__ ) && defined( __INTEL_COMPILER )
|
#if defined( __ia64__ ) && defined( __INTEL_COMPILER )
|
||||||
@@ -76,7 +77,7 @@ inline sp_int32_t atomic_conditional_increment( sp_int32_t * pw )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
extern "builtin" void __lwsync(void);
|
extern "builtin" void __lwsync(void);
|
||||||
extern "builtin" void __isync(void);
|
extern "builtin" void __isync(void);
|
||||||
@@ -70,7 +71,7 @@ inline int atomic_conditional_increment( int *pw )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
#include <boost/smart_ptr/detail/sp_interlocked.hpp>
|
#include <boost/smart_ptr/detail/sp_interlocked.hpp>
|
||||||
#include <boost/detail/workaround.hpp>
|
#include <boost/detail/workaround.hpp>
|
||||||
#include <boost/detail/sp_typeinfo.hpp>
|
#include <boost/detail/sp_typeinfo.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -34,7 +35,7 @@ namespace boost
|
|||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
|
||||||
class sp_counted_base
|
class BOOST_SYMBOL_VISIBLE sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@@ -64,7 +64,7 @@ template<class D> D * get_local_deleter( local_sp_deleter<D> * p );
|
|||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
template<class X> class sp_counted_impl_p: public sp_counted_base
|
template<class X> class BOOST_SYMBOL_VISIBLE sp_counted_impl_p: public sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ public:
|
|||||||
# pragma option push -Vx-
|
# pragma option push -Vx-
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
template<class P, class D> class sp_counted_impl_pd: public sp_counted_base
|
template<class P, class D> class BOOST_SYMBOL_VISIBLE sp_counted_impl_pd: public sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
@@ -216,7 +216,7 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class P, class D, class A> class sp_counted_impl_pda: public sp_counted_base
|
template<class P, class D, class A> class BOOST_SYMBOL_VISIBLE sp_counted_impl_pda: public sp_counted_base
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user