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: bemandawes
Milestone: Boost 1.43.0 Component: system
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:


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 changed from None to system
  • Owner set to bemandawes

comment:2 Changed 7 years ago by bemandawes

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain bemandawes.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.