[Boost-bugs] [ boost-Bugs-1206673 ] Boost.Optional documentation typo.

Bugs item #1206673, was opened at 2005-05-22 22:42 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1206673&group_id=7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Sebastian Redl (cornedbee) Assigned to: Nobody/Anonymous (nobody) Summary: Boost.Optional documentation typo. Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1206673&group_id=7586 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs

"SourceForge.net" <noreply@sourceforge.net> escribió en el mensaje news:E1DZxH3-0005Qp-4O@sc8-sf-web4.sourceforge.net...
[SNIPED]
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.
Fixed in CVS Head. Thanks! Fernando Cacciola SciSoft
participants (2)
-
Fernando Cacciola
-
SourceForge.net