Boost logo

Boost :

From: Jurko Gospodnetiæ (jurko_for_boost_at_[hidden])
Date: 2005-03-17 05:21:42


  Hi.

  There seems to be a bug in the first trimming example for the
string_algo library.

(link: http://www.boost.org/doc/html/string_algo/usage.html#id576378)

  My guess is the line:

    string str3=trim_right_copy(str2)

  was meant to be:

    string str3=trim_right_copy(str1)

  or otherwise the comment beside it is incorrect.

  Hope this helps,
    Jurko Gospodnetiæ


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk