1 // 2 // Explicit instantiations are reported to exist in user code 3 // 4 // Copyright (c) 2014 Peter Dimov 5 // 6 // Distributed under the Boost Software License, Version 1.0. 7 // See accompanying file LICENSE_1_0.txt or copy at 8 // http://www.boost.org/LICENSE_1_0.txt 9 // 10 11 #include <boost/shared_ptr.hpp> 12 13 template class boost::shared_ptr< int >; 14 15 struct X 16 { 17 }; 18 19 template class boost::shared_ptr< X >; 20 main()21int main() 22 { 23 } 24