/Src/Dependencies/Boost/boost/non_type.hpp

http://hadesmem.googlecode.com/ · C++ Header · 27 lines · 7 code · 9 blank · 11 comment · 0 complexity · cabeb513292b434c126054e4cc2ec0d0 MD5 · raw file

  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