|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69415 - sandbox/assign_v2/boost/assign/v2/utility/chain
From: erwann.rogard_at_[hidden]
Date: 2011-02-28 19:30:01
Author: e_r
Date: 2011-02-28 19:30:00 EST (Mon, 28 Feb 2011)
New Revision: 69415
URL: http://svn.boost.org/trac/boost/changeset/69415
Log:
upd assign_v2
Added:
sandbox/assign_v2/boost/assign/v2/utility/chain/alias.hpp (contents, props changed)
Removed:
sandbox/assign_v2/boost/assign/v2/utility/chain/short.hpp
Added: sandbox/assign_v2/boost/assign/v2/utility/chain/alias.hpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/boost/assign/v2/utility/chain/alias.hpp 2011-02-28 19:30:00 EST (Mon, 28 Feb 2011)
@@ -0,0 +1,41 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2009 Neil Groves //
+// 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_CHAIN_ALIAS_ER_2010_HPP
+#define BOOST_ASSIGN_V2_CHAIN_ALIAS_ER_2010_HPP
+#include <boost/assign/v2/utility/chain/pipe.hpp>
+#include <boost/assign/v2/utility/chain/result.hpp>
+
+namespace boost{
+namespace assign{
+namespace v2{
+
+#define BOOST_ASSIGN_V2_MACRO(U1, U2) \
+template<typename R1,typename R2> \
+typename chain_aux::result< \
+ U1,\
+ U2 \
+>::type \
+operator&&(U1& r1, U2 & r2) \
+{ \
+ return r1 | _chain( r2 ); \
+} \
+/**/
+BOOST_ASSIGN_V2_MACRO( R1 , R2 )
+BOOST_ASSIGN_V2_MACRO( R1 , R2 const )
+BOOST_ASSIGN_V2_MACRO( R1 const, R2 )
+BOOST_ASSIGN_V2_MACRO( R1 const, R2 const )
+#undef BOOST_ASSIGN_V2_MACRO
+
+}// v2
+}// assign
+}// boost
+
+#endif
\ No newline at end of file
Deleted: sandbox/assign_v2/boost/assign/v2/utility/chain/short.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/chain/short.hpp 2011-02-28 19:30:00 EST (Mon, 28 Feb 2011)
+++ (empty file)
@@ -1 +0,0 @@
-// TODO remove file
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