Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add non_type.hpp. This solves a compilation problem for some people: h…

  • Loading branch information...
commit 6674df97c882da2dbd7637f70ca30bed3461b007 1 parent eb342b2
@FooBarWidget FooBarWidget authored
Showing with 27 additions and 0 deletions.
  1. +27 −0 ext/boost/non_type.hpp
View
27 ext/boost/non_type.hpp
@@ -0,0 +1,27 @@
+// -------------------------------------
+//
+// (C) Copyright Gennaro Prota 2003.
+//
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+//
+// ------------------------------------------------------
+
+#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 <typename T, T n>
+ struct non_type { };
+
+
+}
+
+
+#endif // include guard
Please sign in to comment.
Something went wrong with that request. Please try again.