Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1301: copy-initialization from const-qualified object doesn't work
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-11-03 08:29:34
#1301: copy-initialization from const-qualified object doesn't work
----------------------------------------------------+-----------------------
Reporter: Shunsuke Sogame <pstade.mb_at_[hidden]> | Owner: fcacciola
Type: Bugs | Status: assigned
Milestone: Boost 1.35.0 | Component: optional
Version: Boost 1.34.1 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------------+-----------------------
Comment (by Shunsuke Sogame <pstade.mb_at_[hidden]>):
Replying to [comment:1 fcacciola]:
> I think it's a gcc bug.
> In any case I added the missing test case to see how other compilers
handle it.
Thanks for adding a test into optional_test_ref.cpp.
BTW,
`optional<int const&> orci2 = ci ;`
is a typo of
`optional<int const&> orci2(ci) ;` ?
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1301#comment:2>
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:49:56 UTC