Modify

Opened 7 years ago

Closed 7 years ago

#4254 closed Bugs (fixed)

error_code.clear() documents incorrect new category type

Reported by: kab@… Owned by: Beman Dawes
Milestone: Boost 1.43.0 Component: system
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

The documentation for error_code.clear() says

postcondition: value() == 0 && category() == generic_category

The C++0x working paper says the resulting category should be system_error, and that is what is actually implemented in boost 1.43.

[This might be a cut and paste error from error_condition.clear().]

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Steven Watanabe

Component: Nonesystem
Owner: set to Beman Dawes

comment:2 Changed 7 years ago by Beman Dawes

Resolution: fixed
Status: newclosed

(In [63426]) Fix #4254 and other documentation mistakes and bring into closer conformance with the C++ standard library working paper.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Beman Dawes.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.