|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66534 - sandbox/statistics/support/boost/assign/v2/put/modifier
From: erwann.rogard_at_[hidden]
Date: 2010-11-12 11:29:59
Author: e_r
Date: 2010-11-12 11:29:56 EST (Fri, 12 Nov 2010)
New Revision: 66534
URL: http://svn.boost.org/trac/boost/changeset/66534
Log:
adding files to boost/assign/v2/put/modifier
Added:
sandbox/statistics/support/boost/assign/v2/put/modifier/push_front.hpp (contents, props changed)
sandbox/statistics/support/boost/assign/v2/put/modifier/xxx.hpp (contents, props changed)
Added: sandbox/statistics/support/boost/assign/v2/put/modifier/push_front.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/boost/assign/v2/put/modifier/push_front.hpp 2010-11-12 11:29:56 EST (Fri, 12 Nov 2010)
@@ -0,0 +1,16 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_PUT_MODIFIER_PUSH_FRONT_ER_2010_HPP
+#define BOOST_ASSIGN_V2_PUT_MODIFIER_PUSH_FRONT_ER_2010_HPP
+#include <boost/assign/v2/put/modifier/xxx.hpp>
+
+BOOST_ASSIGN_V2_PUT_MODIFIER_XXX(push_front)
+
+#endif
Added: sandbox/statistics/support/boost/assign/v2/put/modifier/xxx.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/boost/assign/v2/put/modifier/xxx.hpp 2010-11-12 11:29:56 EST (Fri, 12 Nov 2010)
@@ -0,0 +1,58 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_PUT_MODIFIER_XXX
+#include <boost/preprocessor/cat.hpp>
+#include <boost/accumulators/framework/accumulator_base.hpp>
+#include <boost/assign/v2/put/modifier/def.hpp>
+#include <boost/assign/v2/put/generic/new_modifier.hpp>
+
+#define BOOST_ASSIGN_V2_PUT_MODIFIER_XXX(FUN)\
+namespace boost{\
+namespace assign{\
+namespace v2{\
+namespace modifier_tag{ struct FUN{}; }\
+namespace put_aux{\
+\
+ template<>\
+ struct modifier<v2::modifier_tag::FUN>\
+ {\
+\
+ modifier(){}\
+ modifier( boost::accumulators::dont_care ){}\
+\
+ template<typename V, typename T>\
+ void impl(V& v, T& t)const{ v.FUN( t ); }\
+\
+ template<typename V, typename T>\
+ void impl(V& v, T* t)const{ v.FUN( t ); }\
+\
+ };\
+\
+}\
+namespace{\
+\
+ put_aux::set_modifier<v2::modifier_tag::FUN> const\
+ BOOST_PP_CAT(_,FUN) = ( \
+ _modifier = v2::modifier_tag::FUN() \
+ );\
+\
+}\
+}\
+}\
+}\
+/**/
+
+#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