Re: [Boost-bugs] [Boost C++ Libraries] #10615: R-Tree: add constructor that converts any range<T> to the trees value type

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10615: R-Tree: add constructor that converts any range<T> to the trees value type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-06 09:03:05


#10615: R-Tree: add constructor that converts any range<T> to the trees value type
-------------------------------+---------------------------
  Reporter: anonymous | Owner: barendgehrels
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.56.0 | Severity: Optimization
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by awulkiew):

 AFAIU this musn't be done in the ctor. Doesn't transform adaptor meet your
 needs? Should this proposed ctor work differently than the code below? I'd
 prefer to not extend the interface if it was really not necessary.

 {{{
     rtree rt1(values | boost::adaptors::transformed(fun));
     rtree rt2(boost::adaptors::transform(values, fun));
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10615#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC