Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64379 - sandbox/variadic_templates/boost/mpl
From: cppljevans_at_[hidden]
Date: 2010-07-27 05:35:34


Author: cppljevans
Date: 2010-07-27 05:35:34 EDT (Tue, 27 Jul 2010)
New Revision: 64379
URL: http://svn.boost.org/trac/boost/changeset/64379

Log:
specific converter for and_ and or_ generalizations (used in fold_null_unit)
Added:
   sandbox/variadic_templates/boost/mpl/converter_bool.hpp (contents, props changed)

Added: sandbox/variadic_templates/boost/mpl/converter_bool.hpp
==============================================================================
--- (empty file)
+++ sandbox/variadic_templates/boost/mpl/converter_bool.hpp 2010-07-27 05:35:34 EDT (Tue, 27 Jul 2010)
@@ -0,0 +1,21 @@
+#ifndef BOOST_MPL_CONVERTER_BOOL_HPP_INCLUDED
+#define BOOST_MPL_CONVERTER_BOOL_HPP_INCLUDED
+
+#include <boost/mpl/bool.hpp>
+#include <boost/mpl/aux_/nested_type_wknd.hpp>
+
+namespace boost
+{
+namespace mpl
+{
+
+ template
+ < typename T
+ >
+ struct converter_bool
+ : bool_<BOOST_MPL_AUX_NESTED_TYPE_WKND(T)::value>
+ {};
+
+}//exit mpl namespace
+}//exit boost namespace
+#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