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

Unified Diff: third_party/boost/boost/fusion/support/detail/is_mpl_sequence.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
Index: third_party/boost/boost/fusion/support/detail/is_mpl_sequence.hpp
diff --git a/third_party/boost/boost/fusion/support/detail/is_mpl_sequence.hpp b/third_party/boost/boost/fusion/support/detail/is_mpl_sequence.hpp
new file mode 100644
index 0000000000000000000000000000000000000000..eeb8f91617e54109763753da6c01b8484cb1fff4
--- /dev/null
+++ b/third_party/boost/boost/fusion/support/detail/is_mpl_sequence.hpp
@@ -0,0 +1,27 @@
+/*=============================================================================
+ Copyright (c) 2001-2006 Joel de Guzman
+ Copyright (c) 2005-2006 Dan Marsden
+
+ 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)
+==============================================================================*/
+#if !defined(FUSION_DETAIL_IS_MPL_SEQUENCE_29122006_1105)
+#define FUSION_DETAIL_IS_MPL_SEQUENCE_29122006_1105
+
+#include <boost/fusion/support/sequence_base.hpp>
+#include <boost/type_traits/is_base_of.hpp>
+#include <boost/mpl/is_sequence.hpp>
+#include <boost/mpl/and.hpp>
+#include <boost/mpl/not.hpp>
+
+namespace boost { namespace fusion { namespace detail
+{
+ template <typename T>
+ struct is_mpl_sequence
+ : mpl::and_<
+ mpl::not_<is_base_of<sequence_root, T> >
+ , mpl::is_sequence<T> >
+ {};
+}}}
+
+#endif
« no previous file with comments | « third_party/boost/boost/fusion/support/detail/category_of.hpp ('k') | third_party/boost/boost/fusion/support/is_iterator.hpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698