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 17:44:51


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

 Initially I didn't see the need to use base_from_member with a reference,
 as the referenced object is already initialized. IIUC you want that your
 class container_something should be able to be instantiated either with a
 Container and then copy it, or with a Container& and then store the
 reference. I find this usage a little bit bizarre. Could you tell me in
 which cases do you use Container and when you use Container&?

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