mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-10-07 21:21:06 +02:00
21 lines
446 B
C++
21 lines
446 B
C++
// 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 <boost/shared_ptr.hpp>
|
|
#include <boost/config.hpp>
|
|
|
|
#if defined(DLL_TEST_DYN_LINK)
|
|
# define EXPORT BOOST_SYMBOL_EXPORT
|
|
#else
|
|
# define EXPORT
|
|
#endif
|
|
|
|
EXPORT boost::shared_ptr<int> dll_test()
|
|
{
|
|
return boost::shared_ptr<int>( new int( 42 ) );
|
|
}
|