non_type.hpp 619 B

123456789101112131415161718192021222324252627
  1. // -------------------------------------
  2. //
  3. // (C) Copyright Gennaro Prota 2003.
  4. //
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // ------------------------------------------------------
  10. #ifndef BOOST_NON_TYPE_HPP_GP_20030417
  11. #define BOOST_NON_TYPE_HPP_GP_20030417
  12. namespace boost {
  13. // Just a simple "envelope" for non-type template parameters. Useful
  14. // to work around some MSVC deficiencies.
  15. template <typename T, T n>
  16. struct non_type { };
  17. }
  18. #endif // include guard