Opened 12 years ago
Closed 12 years ago
#4254 closed Bugs (fixed)
error_code.clear() documents incorrect new category type
| Reported by: | 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 , 12 years ago
| Component: | None → system |
|---|---|
| Owner: | set to |
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

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