Re: [Boost-bugs] [Boost C++ Libraries] #2294: Please improve test annotation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2294: Please improve test annotation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-06 03:06:37


#2294: Please improve test annotation
---------------------------+------------------------------------------------
  Reporter: dave | Owner: fcacciola
      Type: Bugs | Status: new
 Milestone: Boost 1.37.0 | Component: optional
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment(by dave):

 I think I understand the bug now (though the text should still be
 improved) and
 I have a suggestion to make: on those compilers where the bug exists, make
 the
 constructor in question explicit so that you can't mistakenly end up with
 a
 dangling reference. I did that by brute force in my local copy by
 specializing
 optional<V const&> and adding "explicit" to the ctor.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2294#comment:1>
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:58 UTC