sp_explicit_inst_test.cpp 408 B

1234567891011121314151617181920212223
  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. #include <boost/shared_ptr.hpp>
  11. template class boost::shared_ptr< int >;
  12. struct X
  13. {
  14. };
  15. template class boost::shared_ptr< X >;
  16. int main()
  17. {
  18. }