[Boost-bugs] [Boost C++ Libraries] #4254: error_code.clear() documents incorrect new category type

Subject: [Boost-bugs] [Boost C++ Libraries] #4254: error_code.clear() documents incorrect new category type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-25 00:18:00


#4254: error_code.clear() documents incorrect new category type
--------------------------+-------------------------------------------------
 Reporter: kab@… | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: None
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 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().]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4254>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC