Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72098 - trunk/boost/range/adaptor
From: neil_at_[hidden]
Date: 2011-05-22 16:01:13


Author: neilgroves
Date: 2011-05-22 16:01:12 EDT (Sun, 22 May 2011)
New Revision: 72098
URL: http://svn.boost.org/trac/boost/changeset/72098

Log:
[boost][range] - Ticket 5485 - doubly defined BOOST_DEFINE_RANGE_ADAPTOR_1 macro.
Text files modified:
   trunk/boost/range/adaptor/define_adaptor.hpp | 18 ------------------
   1 files changed, 0 insertions(+), 18 deletions(-)

Modified: trunk/boost/range/adaptor/define_adaptor.hpp
==============================================================================
--- trunk/boost/range/adaptor/define_adaptor.hpp (original)
+++ trunk/boost/range/adaptor/define_adaptor.hpp 2011-05-22 16:01:12 EDT (Sun, 22 May 2011)
@@ -44,24 +44,6 @@
         return range_adaptor <const Range>(rng); \
     }
 
-#define BOOST_DEFINE_RANGE_ADAPTOR_1( adaptor_name, range_adaptor, adaptor_class ) \
- template<typename Range> range_adaptor <Range> \
- operator|(Range& rng, const adaptor_name & args) \
- { \
- return range_adaptor <Range>(rng, args.arg1); \
- } \
- template<typename Range> range_adaptor <const Range> \
- operator|(const Range& rng, const adaptor_name & args) \
- { \
- return range_adaptor <Range>(rng, args.arg1); \
- } \
- template<typename Range, typename Arg1> \
- range_adaptor<Range> \
- make_##adaptor_name(Range& rng, Arg1 arg1) \
- { \
- return range_adaptor<Range>(rng, arg1); \
- }
-
 #define BOOST_DEFINE_RANGE_ADAPTOR_1( adaptor_name, range_adaptor, arg1_type ) \
     struct adaptor_name \
     { \


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