Opened 11 years ago
Closed 10 years ago
#6689 closed Bugs (fixed)
For String Algo's trim, documentation is misleading.
Reported by: | Owned by: | Marshall Clow | |
---|---|---|---|
Milestone: | To Be Determined | Component: | string_algo |
Version: | Boost 1.48.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
The documentation for String Algo's trim functions states:
When parsing the input from a user, strings usually have unwanted leading or trailing characters.
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.
It's certainly true that they can contain unwanted characters. Maybe in some situations they often do, but I think usually is misleading.
Change History (3)
comment:1 by , 11 years ago
Component: | Documentation → string_algo |
---|---|
Owner: | changed from | to
comment:2 by , 11 years ago
Note:
See TracTickets
for help on using tickets.
(In [77343]) s/ususally/often/; Refs #6689