use_default_test.cpp 338 B

123456789101112131415
  1. /*
  2. Copyright 2019 Glen Joseph Fernandes
  3. (glenjofe@gmail.com)
  4. Distributed under the Boost Software License, Version 1.0.
  5. (http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. #include <boost/core/use_default.hpp>
  8. template<class, class = boost::use_default>
  9. struct type { };
  10. template class type<int>;
  11. template class type<void, boost::use_default>;