Opened 12 years ago

Closed 12 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().]

Change History (2)

comment:1 by Steven Watanabe, 12 years ago

Component: Nonesystem
Owner: set to Beman Dawes

comment:2 by Beman Dawes, 12 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.