diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 19:01:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 19:01:49 +0200 |
commit | 19d0eb2adcda31d9919bca8fef98cb1871b4ce54 (patch) | |
tree | 2e37fd2a976d6ec1f5fa1c49da8c2e5a04dfa440 /cutl/shared-ptr/base.hxx | |
parent | 6aeb2e06e9fa137a8e26f8605ec63f7567e65280 (diff) |
Add automake and VC++ builds (meta-build)
Diffstat (limited to 'cutl/shared-ptr/base.hxx')
-rw-r--r-- | cutl/shared-ptr/base.hxx | 16 |
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&); |