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:1 by Fernando Cacciola, 17 years ago

Logged In: YES 
user_id=621253

Fix commited in CVS Head

comment:2 by Fernando Cacciola, 17 years ago

Logged In: YES 
user_id=621253

Thank you for submitting a bug report to BOOST

comment:3 by Fernando Cacciola, 17 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.