non_type.hpp

Go to the documentation of this file.
00001 // -------------------------------------
00002 //
00003 //           (C) Copyright Gennaro Prota 2003.
00004 //
00005 // Distributed under the Boost Software License, Version 1.0.
00006 //    (See accompanying file LICENSE_1_0.txt or copy at
00007 //          http://www.boost.org/LICENSE_1_0.txt)
00008 //
00009 // ------------------------------------------------------
00010 
00011 #ifndef BOOST_NON_TYPE_HPP_GP_20030417
00012 #define BOOST_NON_TYPE_HPP_GP_20030417
00013 
00014 
00015 namespace boost {
00016 
00017   // Just a simple "envelope" for non-type template parameters. Useful
00018   // to work around some MSVC deficiencies.
00019 
00020  template <typename T, T n>
00021  struct non_type { };
00022 
00023 
00024 }
00025 
00026 
00027 #endif // include guard

Generated on Wed Jan 21 15:32:10 2009 for SystemC by  doxygen 1.5.5