|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70593 - sandbox/assign_v2/boost/assign/v2/option/modifier/std
From: erwann.rogard_at_[hidden]
Date: 2011-03-26 16:34:48
Author: e_r
Date: 2011-03-26 16:34:48 EDT (Sat, 26 Mar 2011)
New Revision: 70593
URL: http://svn.boost.org/trac/boost/changeset/70593
Log:
upd assign_v2
Added:
sandbox/assign_v2/boost/assign/v2/option/modifier/std/framework.hpp
- copied unchanged from r70592, /sandbox/assign_v2/boost/assign/v2/option/modifier/std/modifier.hpp
Removed:
sandbox/assign_v2/boost/assign/v2/option/modifier/std/modifier.hpp
Deleted: sandbox/assign_v2/boost/assign/v2/option/modifier/std/modifier.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/option/modifier/std/modifier.hpp 2011-03-26 16:34:48 EDT (Sat, 26 Mar 2011)
+++ (empty file)
@@ -1,109 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// 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_OPTION_STD_MODIFIER_MODIFIER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_MODIFIER_ER_2010_HPP
-#include <boost/assign/v2/detail/keyword/ignore.hpp>
-#include <boost/assign/v2/interpreter/fwd.hpp>
-#include <boost/assign/v2/option/modifier/framework.hpp>
-#include <boost/preprocessor/cat.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-
-BOOST_ASSIGN_V2_OPTION_MODIFIER_KEYWORD(std_modifier)
-BOOST_ASSIGN_V2_OPTION_MODIFIER_META_MODIFIER_TAG(std_modifier, Arg)
-
-}// v2
-}// assign
-}// boost
-
-#define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL_PTR(FUN)\
- template<typename C, typename T>\
- void impl(C& cont, T* t)const{\
- cont.FUN( t );\
-}\
-/**/
-#define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL_LVALUE(FUN)\
- template<typename C, typename T>\
- void impl(C& cont, T& t)const{\
- cont.FUN( t );\
-}\
-/**/
-
-#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-#include <utility>
-#include <boost/utility/enable_if.hpp>
-#include <boost/type_traits/is_reference.hpp>
-// disable_if necessary to avoid ambiguity resolution with GCC4.4
-#define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL_RVALUE(FUN)\
- template<typename C, typename T>\
- typename boost::disable_if<\
- boost::is_reference<T>,\
- void\
- >::type\
- impl(C& cont, T&& t)const{\
- cont.FUN( std::move( t ) );\
- }\
-/**/
-#define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL(FUN)\
-BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL_LVALUE(FUN)\
-BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL_RVALUE(FUN)\
-/**/
-#else
-#define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL(FUN)\
-BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL_LVALUE(FUN)\
-/**/
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
-
-#define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_TAG(FUN)\
-namespace boost{\
-namespace assign{\
-namespace v2{\
-namespace modifier_tag{ struct FUN{}; }\
-}\
-}\
-}\
-/**/
-
-// Must be preceded by BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_TAG(FUN)
-#define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER(FUN)\
-namespace boost{\
-namespace assign{\
-namespace v2{\
-namespace interpreter_aux{\
-\
- template<>\
- class interpreter_modifier<modifier_tag::FUN>\
- {\
- typedef keyword_aux::ignore ignore_;\
- public:\
- interpreter_modifier(){}\
- interpreter_modifier( ignore_, ignore_ ){}\
- BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_IMPL(FUN)\
- };\
-\
-}\
-namespace{\
-\
- interpreter_aux::option_modifier<interpreter_aux::keyword_std_modifier, modifier_tag::FUN> const\
- BOOST_PP_CAT(_,FUN) = ( \
- _std_modifier = modifier_tag::FUN() \
- );\
-\
-}\
-}\
-}\
-}\
-/**/
-
-
-#endif // BOOST_ASSIGN_V2_OPTION_STD_MODIFIER_MODIFIER_ER_2010_HPP
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