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 02:14:32


#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
--------------------------------------+-------------------------------------
Changes (by eric_niebler):

  * status: new => assigned

Comment:

 On MSVC 9 and 10, I get:

 {{{
 noncopyable_rvalue_const.cpp(60) : error C2248:
 'my_container::my_container' : cannot access private member declared in
 class 'my_container'
         noncopyable_rvalue_const.cpp(43) : see declaration of
 'my_container::my_container'
         noncopyable_rvalue_const.cpp(19) : see declaration of
 'my_container'
 }}}

 I can't apply the patch until these issues are resolved. Any ideas?

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