Boost C++ Libraries: Ticket #262: Minor coding issue https://svn.boost.org/trac10/ticket/262 <pre class="wiki">The functions: gregorian_calendar_base&lt;ymd_type_,date_int_type_&gt;::fr om_day_number(date_int_type dayNumber) and: gregorian_calendar_base&lt;ymd_type_,date_int_type_&gt;::fr om_julian_day_number(date_int_type dayNumber) in "gregorian_calander.ipp" share the same code, except for the static_cast to year_type (which is static_cast&lt;unsigned short&gt; in the first and static_cast&lt;year_type&gt; in the second of these functions. It seems that the one of these functions is redundant (and that the first one has a wrong type cast)... </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/262 Trac 1.4.3 az_sw_dude Tue, 25 Oct 2005 12:54:05 GMT <link>https://svn.boost.org/trac10/ticket/262#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/262#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=579686 Thx for the report. I agree this code could be cleaned up a bit. This code will be rewritten in a future standardization release (1.35?) and this will be addressed at that time. In the meantime, it works fine and doesn't cause any known issues. Jeff </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>az_sw_dude</dc:creator> <pubDate>Tue, 25 Oct 2005 12:54:06 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/262#comment:2 https://svn.boost.org/trac10/ticket/262#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket