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-05 18:41:28


#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 anonymous):

 Ok, I was just making sure you didn't miss the actual issue with
 `base_from_member`.

 The reason the member may be either a reference or a copy is simple. The
 class is a view, which means most of the time it will contain a reference
 to the actual type is adapting. However, a view could also be adapting
 another view, and in those cases it should contain a copy to the view
 rather than forcing the user to define additional named variables for the
 intermediate views. Then one can chain views the obvious way.

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