// Copyright 2020 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include #include #include int main() { boost::shared_ptr p1( new int ); boost::shared_ptr p2( new int[1] ); boost::make_shared(); #if !BOOST_WORKAROUND(BOOST_MSVC, < 1500) boost::make_shared( 1 ); #endif }