From b0b37ef724708fa1814ce9997fa784fc9d15554a Mon Sep 17 00:00:00 2001 From: Gennaro Prota Date: Wed, 16 Apr 2003 22:51:39 +0000 Subject: [PATCH] "envelope" for non-type template parameters (useful to workaround compiler bugs) [SVN r18270] --- include/boost/non_type.hpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/boost/non_type.hpp diff --git a/include/boost/non_type.hpp b/include/boost/non_type.hpp new file mode 100644 index 0000000..19a2fbe --- /dev/null +++ b/include/boost/non_type.hpp @@ -0,0 +1,26 @@ +// (C) Copyright Gennaro Prota 2003. Permission to copy, use, +// modify, sell and distribute this software is granted provided this +// copyright notice appears in all copies. This software is provided +// "as is" without express or implied warranty, and with no claim as +// to its suitability for any purpose. + + +#ifndef BOOST_NON_TYPE_HPP_GP_20030417 +#define BOOST_NON_TYPE_HPP_GP_20030417 + + +namespace boost { + + // Just a simple "envelope" for non-type template parameters. Useful + // to work around some MSVC deficiencies. + + template + struct non_type { }; + + +} + + + + +#endif // include guard