// Copyright 2018 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. // // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include #include #include #include #if defined(DLL_TEST_DYN_LINK) # define EXPORT BOOST_SYMBOL_EXPORT #else # define EXPORT #endif EXPORT boost::shared_ptr dll_test_41() { return boost::shared_ptr( new int( 41 ) ); } EXPORT boost::shared_ptr dll_test_42() { return boost::make_shared( 42 ); } EXPORT boost::shared_ptr dll_test_43() { return boost::allocate_shared( std::allocator(), 43 ); } EXPORT boost::shared_ptr dll_test_44() { return boost::make_shared( 44 ); } EXPORT boost::shared_ptr dll_test_45() { return boost::allocate_shared( std::allocator(), 45 ); }