Re: [Boost-bugs] [Boost C++ Libraries] #5475: [Foreach] rvalue reference binding of temporary ranges

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5475: [Foreach] rvalue reference binding of temporary ranges
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-20 18:39:27


#5475: [Foreach] rvalue reference binding of temporary ranges
--------------------------------------+-------------------------------------
  Reporter: mimomorin@… | Owner: eric_niebler
      Type: Patches | Status: assigned
 Milestone: To Be Determined | Component: foreach
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: foreach, C++0x
--------------------------------------+-------------------------------------

Comment (by eric_niebler):

 A.cpp
 {{{
 1>c:\boost\org\trunk\libs\proto\scratch\main.cpp(21): error C2248:
 'my_container::my_container' : cannot access private member declared in
 class 'my_container'
 1> c:\boost\org\trunk\libs\proto\scratch\main.cpp(10) : see
 declaration of 'my_container::my_container'
 1> c:\boost\org\trunk\libs\proto\scratch\main.cpp(2) : see
 declaration of 'my_container'
 }}}

 B.cpp
 No error

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5475#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:07 UTC