Modify

Ticket #4254 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

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:

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

Change History

comment:1 Changed 4 years ago by steven_watanabe

  • Owner set to bemandawes
  • Component changed from None to system

comment:2 Changed 4 years ago by bemandawes

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

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.