force_instantiate.hpp 576 B

123456789101112131415161718
  1. // Copyright David Abrahams 2002.
  2. // Distributed under the Boost Software License, Version 1.0. (See
  3. // accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef FORCE_INSTANTIATE_DWA200265_HPP
  6. # define FORCE_INSTANTIATE_DWA200265_HPP
  7. namespace boost { namespace python { namespace detail {
  8. // Allows us to force the argument to be instantiated without
  9. // incurring unused variable warnings
  10. template <class T>
  11. inline void force_instantiate(T const&) {}
  12. }}} // namespace boost::python::detail
  13. #endif // FORCE_INSTANTIATE_DWA200265_HPP