Opened 17 years ago
Closed 17 years ago
#406 closed Bugs (Fixed)
Boost.Optional documentation typo.
| Reported by: | Sebastian Redl | Owned by: | Fernando Cacciola |
|---|---|---|---|
| Milestone: | Component: | type_traits | |
| Version: | None | Severity: | |
| Keywords: | Cc: |
Description
Not sure if documentation gets fixed in the CVS.
Optional has no documentation in the nightly doc
builds, so here we go.
The Optional documentation contains this about operator >:
-------------
bool operator > ( optional<T> const& x, optional<T>
const& y );
Returns: !( y < x );
-------------
This is a typo in the documentation. The implementation
correctly implements operator (x > y) as (y < x),
without the negation.
Change History (3)
comment:2 by , 17 years ago
Logged In: YES user_id=621253 Thank you for submitting a bug report to BOOST
comment:3 by , 17 years ago
| Status: | assigned → closed |
|---|
Note:
See TracTickets
for help on using tickets.
