Re: [Boost-bugs] [Boost C++ Libraries] #7577: base_from_member with reference types

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7577: base_from_member with reference types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-06 17:31:19


#7577: base_from_member with reference types
----------------------------------------------+-----------------------------
  Reporter: K-ballo <kaballo86@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: utility
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------+-----------------------------

Comment (by kaballo86@…):

 Replying to [comment:7 viboes]:
> Why it needs to copy the view? A concrete example will help.

 Because that's the way it's usually done: views are copied. Views don't
 own their elements, in a way they are already references. Also, this
 allows chaining views, for instance `one_view( another_view(
 some_container ) )` where the intermediate temporary view cannot be taken
 by reference.

 This is totally unrelated to the issue with `base_from_member`, and as
 such I think it is off-topic. If you want to continue this discussion
 contact me to my email address, which you should be able to see here.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7577#comment:8>
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:11 UTC