Boost C++ Libraries: Ticket #9046: Refactoring of lexical cast https://svn.boost.org/trac10/ticket/9046 <p> Current implementation of <code>lexical_cast</code> contains many macro, not optimally written templates, antique workarounds for antique compilers, suppressed warnings. </p> <p> Purpose of this refactoring is to: </p> <ul><li>Reduce code size </li><li>Improve compilation times </li><li>Simplify code </li></ul> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9046 Trac 1.4.3 Antony Polukhin Mon, 26 Aug 2013 11:18:43 GMT <link>https://svn.boost.org/trac10/ticket/9046#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85475" title="Get rid of some macro, improve type traits, fix svn properties, do not ...">[85475]</a>) Get rid of some macro, improve type traits, fix svn properties, do not supress warnings (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 27 Aug 2013 07:07:16 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85482" title="Improved some of the metaprogramming methods (refs #9046)">[85482]</a>) Improved some of the metaprogramming methods (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 27 Aug 2013 07:51:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85483" title="Delay character trait extraction (refs #9046)">[85483]</a>) Delay character trait extraction (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 27 Aug 2013 14:23:20 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85486" title="Fix bug introduced by previous commits during conversion of wide ...">[85486]</a>) Fix bug introduced by previous commits during conversion of wide character to wide character. Remove duplicate code and add more comments for lcast_ret_unsigned method. Optimize and simplify overflow detection (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Wed, 28 Aug 2013 12:55:11 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85499" title="lcast_put_unsigned in lexical_cast.hpp header is refactored, duplicate ...">[85499]</a>) lcast_put_unsigned in lexical_cast.hpp header is refactored, duplicate code removed (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Thu, 29 Aug 2013 11:41:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:6</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85512" title="lexical_cast.hpp improvements: better overflow detections for float ...">[85512]</a>) lexical_cast.hpp improvements: better overflow detections for float conversions, more <code>const</code> modifiers (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Thu, 29 Aug 2013 15:35:04 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:7</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85513" title="lexical_cast.hpp improvements: no more `const_casts`, much shorter and ...">[85513]</a>) lexical_cast.hpp improvements: no more <code>const_casts</code>, much shorter and better template specializations, some code formatting fixes (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Fri, 30 Aug 2013 09:00:00 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:8</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85523" title="lexical_cast.hpp improvements: more comments, BOOST_NOEXCEPT and ...">[85523]</a>) lexical_cast.hpp improvements: more comments, BOOST_NOEXCEPT and <code>const</code>; parser_buf moved to boost/detail/basic_pointerbuf.hpp, better formatting and simplified type traits (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Fri, 30 Aug 2013 14:37:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:9</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85528" title="lexical_cast.hpp improvements: interpreter was split to input and ...">[85528]</a>) lexical_cast.hpp improvements: interpreter was split to input and output streams to reduce size of binaries and improve compilation times, fixed typo from previous commit (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sun, 22 Sep 2013 12:23:27 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:10</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85828" title="Make a separate folder for lexical_casts examples, use those examples ...">[85828]</a>) Make a separate folder for lexical_casts examples, use those examples in documenation and assure that they successfully build and run (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sun, 22 Sep 2013 16:06:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:11 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:11</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85830" title="Minor update of lexical cast before fixing mingw issues (refs #9046)">[85830]</a>) Minor update of lexical cast before fixing mingw issues (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Mon, 23 Sep 2013 11:59:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:12 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:12</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85852" title="lexical_cast.hpp improvements: fix bug with floats conversions and ...">[85852]</a>) lexical_cast.hpp improvements: fix bug with floats conversions and improve docs (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 24 Sep 2013 14:21:53 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:13 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:13</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85868" title="Fix generic_stringize example compilation on Darvin (refs #9046)">[85868]</a>) Fix generic_stringize example compilation on Darvin (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Wed, 25 Sep 2013 13:27:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9046#comment:14 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9046#comment:14</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85901" title="Merge lexical_casts documentation and tests to release branch (refs #9046)">[85901]</a>) Merge lexical_casts documentation and tests to release branch (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 12 Nov 2013 17:15:13 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9046#comment:15 https://svn.boost.org/trac10/ticket/9046#comment:15 <ul> <li><strong>status</strong> <span class="trac-field-old">new</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/86654" title="Merged a big bunch of internal code changes from trunk for ...">[86654]</a>) Merged a big bunch of internal code changes from trunk for lexical_cast: dropped support of antique compilers, code changed to produce a smaller binaries and simplify compiler's work, simplified and shortened the code, common with other libraries code moved to 'detail/basic_pointerbuf.hpp' (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9046" title="#9046: Tasks: Refactoring of lexical cast (closed: fixed)">#9046</a>, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9070" title="#9070: Bugs: Boost.LexicalCast wrong parameter name (closed: fixed)">#9070</a>, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9271" title="#9271: Bugs: C4512 warnings with VS 2013 RTM (closed: fixed)">#9271</a>) </p> Ticket Antony Polukhin Tue, 12 Nov 2013 17:16:35 GMT milestone changed https://svn.boost.org/trac10/ticket/9046#comment:16 https://svn.boost.org/trac10/ticket/9046#comment:16 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.56.0</span> </li> </ul> Ticket