Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: third_party/boost/boost/non_type.hpp

Issue 113163: Add gmock into our dependencies. (Closed)
Patch Set: Making gmock work with windows. Requires adding boost. Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/boost/boost/mpl/void_fwd.hpp ('k') | third_party/boost/boost/preprocessor/arithmetic/add.hpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boost/boost/non_type.hpp
diff --git a/third_party/boost/boost/non_type.hpp b/third_party/boost/boost/non_type.hpp
new file mode 100644
index 0000000000000000000000000000000000000000..896aed4d34b8d68bf3d8fd363834abca68e4b189
--- /dev/null
+++ b/third_party/boost/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
« no previous file with comments | « third_party/boost/boost/mpl/void_fwd.hpp ('k') | third_party/boost/boost/preprocessor/arithmetic/add.hpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698