[Boost-bugs] [Boost C++ Libraries] #1289: posix_time::time_facet forgets to pass a_ref argument to base class

Subject: [Boost-bugs] [Boost C++ Libraries] #1289: posix_time::time_facet forgets to pass a_ref argument to base class
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-09-27 15:20:52


#1289: posix_time::time_facet forgets to pass a_ref argument to base class
-------------------------------------+--------------------------------------
 Reporter: stimming_at_[hidden] | Owner: az_sw_dude
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 The default constructor of posix_time::time_facet (with one default
 argument) forgets to pass that argument value (a_ref) to its base class,
 date_facet. That one in turn correctly passes that value to
 std::locale::facet. This bug is present in 1.33.1, 1.34.1, and even SVN,
 where "cepstein" recently commented out that argument in SVN r39274, but
 that is the wrong fix. Instead, that argument must be passed to the base
 class because std::locale::facet indeed uses that value.

 A patch against 1.34.1 will be attached. If you want to patch this against
 SVN, first revert r39274 in the file time_facet.hpp, then apply the patch.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1289>
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