Boost C++ Libraries: Ticket #6689: For String Algo's trim, documentation is misleading. https://svn.boost.org/trac10/ticket/6689 <p> The documentation for String Algo's trim functions states: </p> <p> <em>When parsing the input from a user, strings <strong>usually</strong> have unwanted leading or trailing characters.</em> </p> <p> Is that strictly true? There's no reason for a string to have leading or trailing spaces from, say, getline, a UI component, or a parameter in a URL. </p> <p> It's certainly true that they <em>can</em> contain unwanted characters. Maybe in some situations they <em>often</em> do, but I think <em>usually</em> is misleading. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6689 Trac 1.4.3 anonymous Thu, 15 Mar 2012 11:19:15 GMT owner, component changed https://svn.boost.org/trac10/ticket/6689#comment:1 https://svn.boost.org/trac10/ticket/6689#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">Marshall Clow</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">string_algo</span> </li> </ul> Ticket Marshall Clow Thu, 15 Mar 2012 18:34:58 GMT <link>https://svn.boost.org/trac10/ticket/6689#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6689#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77343" title="s/ususally/often/; Refs #6689">[77343]</a>) s/ususally/often/; Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6689" title="#6689: Bugs: For String Algo's trim, documentation is misleading. (closed: fixed)">#6689</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Wed, 23 May 2012 16:25:51 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6689#comment:3 https://svn.boost.org/trac10/ticket/6689#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/78557" title="Merged changes for Boost.Algorithm to release; Fixes #6596; Fixes ...">[78557]</a>) Merged changes for Boost.Algorithm to release; Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6596" title="#6596: Bugs: Docs bug in boost_1_49_0_beta1/doc/html/boost/algorithm/find_head.html (closed: fixed)">#6596</a>; Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6689" title="#6689: Bugs: For String Algo's trim, documentation is misleading. (closed: fixed)">#6689</a>; Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3215" title="#3215: Feature Requests: Clamp function (closed: fixed)">#3215</a>; Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6840" title="#6840: Bugs: Mistake in Boost 1.49 String Algorithm Documentation (closed: fixed)">#6840</a> </p> Ticket