Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68241 - sandbox/statistics/support/boost/assign/v2/detail/traits/container
From: erwann.rogard_at_[hidden]
Date: 2011-01-18 14:23:35


Author: e_r
Date: 2011-01-18 14:23:34 EST (Tue, 18 Jan 2011)
New Revision: 68241
URL: http://svn.boost.org/trac/boost/changeset/68241

Log:
upd boost/assign/v2
Added:
   sandbox/statistics/support/boost/assign/v2/detail/traits/container/is.hpp (contents, props changed)

Added: sandbox/statistics/support/boost/assign/v2/detail/traits/container/is.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/boost/assign/v2/detail/traits/container/is.hpp 2011-01-18 14:23:34 EST (Tue, 18 Jan 2011)
@@ -0,0 +1,26 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to 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_ASSIGN_V2_TRAITS_CONTAINER_IS
+#include <boost/preprocessor/cat.hpp>
+#include <boost/type_traits/remove_cv.hpp>
+#include <boost/assign/v2/detail/fwd/container.hpp>
+#include <boost/assign/v2/detail/traits/container/forward_to_value.hpp>
+
+#define BOOST_ASSIGN_V2_TRAITS_CONTAINER_IS(name)\
+namespace container_traits{\
+ template<typename V>\
+ struct BOOST_PP_CAT(is_,name) : forward_to_value<\
+ container_traits_aux::BOOST_PP_CAT(is_,name),\
+ typename boost::remove_cv<V>::type\
+ >{};\
+}\
+/**/
+
+#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