Boost C++ Libraries: Ticket #8690: duration_units_default - lost return types constness in overridden methods https://svn.boost.org/trac10/ticket/8690 <p> When implementing custom chrono duration units by deriving from duration_units_default&lt;&gt; I noticed the "get_valid_units_start" and "get_valid_units_end" is declared to return mutable string_type pointer however the base class (duration_units&lt;&gt;) declares them as immutable. The attached patch has been generated with the "git diff --no-prefix" command (I have boost svn repo cloned with the git-svn tool). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8690 Trac 1.4.3 tmmikolajczyk@… Wed, 12 Jun 2013 19:32:21 GMT attachment set https://svn.boost.org/trac10/ticket/8690 https://svn.boost.org/trac10/ticket/8690 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">duration_unit_return_type.patch</span> </li> </ul> Ticket tmmikolajczyk@… Wed, 12 Jun 2013 19:33:36 GMT <link>https://svn.boost.org/trac10/ticket/8690#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8690#comment:1</guid> <description> <p> It concerns the 1.53 version and the latest trunk as well. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 12 Jun 2013 20:34:32 GMT</pubDate> <title>status, milestone changed https://svn.boost.org/trac10/ticket/8690#comment:2 https://svn.boost.org/trac10/ticket/8690#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.54.0</span> </li> </ul> Ticket viboes Wed, 12 Jun 2013 20:36:57 GMT <link>https://svn.boost.org/trac10/ticket/8690#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8690#comment:3</guid> <description> <p> Thanks for catching this issue. I will try to fix it for 1.54. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 12 Jun 2013 21:06:24 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8690#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8690#comment:4</guid> <description> <p> Committed revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/84751" title="Chrono: apply patch for #8690">[84751]</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Fri, 14 Jun 2013 05:14:50 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8690#comment:5 https://svn.boost.org/trac10/ticket/8690#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84767" title="Chrono: fix #8690.">[84767]</a>) Chrono: fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8690" title="#8690: Patches: duration_units_default - lost return types constness in overridden methods (closed: fixed)">#8690</a>. </p> Ticket