Boost C++ Libraries: Ticket #3860: Example 'bug' - "goodbye WORLD!"? https://svn.boost.org/trac10/ticket/3860 <p> <a href="http://www.boost.org/doc/libs/1_41_0/doc/html/string_algo/usage.html#id1701017">http://www.boost.org/doc/libs/1_41_0/doc/html/string_algo/usage.html#id1701017</a> </p> <blockquote class="citation"> <p> <em> str2 == "goodbye world!" </em></p> </blockquote> <p> Shouldn't this be "goodbye WORLD!"? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3860 Trac 1.4.3 olafvdspek@… Tue, 26 Jan 2010 10:35:31 GMT <link>https://svn.boost.org/trac10/ticket/3860#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3860#comment:1</guid> <description> <blockquote class="citation"> <p> string str3=trim_right_copy(str2); <em> str3 == " hello world!" </em></p> </blockquote> <p> Should be: </p> <p> string str3=trim_right_copy(str1); <em> str3 == " hello world!" </em></p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sat, 27 Mar 2010 05:44:06 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3860#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3860#comment:2</guid> <description> <p> "goodbye world!" is correct. Note the use of to_lower_copy. </p> <p> The second documentation bug appears to be a valid bug. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Wed, 09 Jun 2010 20:42:48 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3860#comment:3 https://svn.boost.org/trac10/ticket/3860#comment:3 <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/62692" title="Trim the correct string. Fixes #3860">[62692]</a>) Trim the correct string. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3860" title="#3860: Bugs: Example 'bug' - &#34;goodbye WORLD!&#34;? (closed: fixed)">#3860</a> </p> Ticket