aboutsummaryrefslogtreecommitdiff
path: root/cutl/shared-ptr
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/shared-ptr')
-rw-r--r--cutl/shared-ptr/base.hxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/cutl/shared-ptr/base.hxx b/cutl/shared-ptr/base.hxx
index 0a631d4..50e54d4 100644
--- a/cutl/shared-ptr/base.hxx
+++ b/cutl/shared-ptr/base.hxx
@@ -11,9 +11,11 @@
#include <cutl/exception.hxx>
+#include <cutl/details/export.hxx>
+
namespace cutl
{
- struct share
+ struct LIBCUTL_EXPORT share
{
explicit
share (char id);
@@ -26,24 +28,24 @@ namespace cutl
};
}
-extern cutl::share shared;
-extern cutl::share exclusive;
+extern LIBCUTL_EXPORT cutl::share shared;
+extern LIBCUTL_EXPORT cutl::share exclusive;
-void*
+LIBCUTL_EXPORT void*
operator new (std::size_t, cutl::share) throw (std::bad_alloc);
-void
+LIBCUTL_EXPORT void
operator delete (void*, cutl::share) throw ();
namespace cutl
{
- struct not_shared: exception
+ struct LIBCUTL_EXPORT not_shared: exception
{
virtual char const*
what () const throw ();
};
- struct shared_base
+ struct LIBCUTL_EXPORT shared_base
{
shared_base ();
shared_base (shared_base const&);