Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55817 - sandbox/statistics/binary_op/boost/binary_op/meta/detail
From: erwann.rogard_at_[hidden]
Date: 2009-08-27 20:38:14


Author: e_r
Date: 2009-08-27 20:38:13 EDT (Thu, 27 Aug 2009)
New Revision: 55817
URL: http://svn.boost.org/trac/boost/changeset/55817

Log:
minor add
Added:
   sandbox/statistics/binary_op/boost/binary_op/meta/detail/
   sandbox/statistics/binary_op/boost/binary_op/meta/detail/tuple_has_no.hpp (contents, props changed)

Added: sandbox/statistics/binary_op/boost/binary_op/meta/detail/tuple_has_no.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/binary_op/boost/binary_op/meta/detail/tuple_has_no.hpp 2009-08-27 20:38:13 EDT (Thu, 27 Aug 2009)
@@ -0,0 +1,31 @@
+///////////////////////////////////////////////////////////////////////////////
+// binary_op::meta::detail::tuple_has_no.hpp //
+// //
+// Copyright 2009 Erwann Rogard. 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_BINARY_OP_META_TUPLE_HAS_NO_HPP_ER_2009
+#define BOOST_BINARY_OP_META_TUPLE_HAS_NO_HPP_ER_2009
+#include <boost/mpl/not.hpp>
+#include <boost/mpl/or.hpp>
+
+namespace boost{
+namespace binary_op{
+
+ namespace detail{
+ template<typename T,template<unsigned,typename> class F>
+ struct tuple_has_no
+ : mpl::not_<
+ mpl::or_<
+ F<0,T> ,
+ F<1,T>
+ >
+ >{};
+ }
+
+}// binary_op
+}// boost
+
+
+#endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk