[Boost-bugs] [Boost C++ Libraries] #5182: BOOST_STRONG_TYPEDEF missing default initialization of member value

Subject: [Boost-bugs] [Boost C++ Libraries] #5182: BOOST_STRONG_TYPEDEF missing default initialization of member value
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-11 15:19:30


#5182: BOOST_STRONG_TYPEDEF missing default initialization of member value
-------------------------------------+--------------------------------------
 Reporter: bob.green@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 The default constructor created by BOOST_STRONG_TYPEDEF should explicitly
 initialize
 it's wrapped value in the default constructor. I.E.

         D() {};

 should be

         D() : t() {};

 This ensures that, in client code, D() is equivalent to t().

 -Bob Green

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