Changes between Version 3 and Version 4 of Ticket #7278


Ignore:
Timestamp:
Aug 25, 2012, 10:56:43 AM (10 years ago)
Author:
viboes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7278 – Description

    v3 v4  
    1212      bool operator<(const error_category& rhs) const noexcept;
    1313};
    14     const error_category& generic_category() noexcept;
    15     const error_category& system_category() noexcept;
     14const error_category& generic_category() noexcept;
     15const error_category& system_category() noexcept;
    1616
    1717
    1818    class error_code {
    1919    public:
    20 error_code() noexcept;
    21 error_code(int val, const error_category& cat) noexcept;
    22 template <class ErrorCodeEnum>
    23 error_code(ErrorCodeEnum e) noexcept;
    24 void assign(int val, const error_category& cat) noexcept;
    25 template <class ErrorCodeEnum>
    26 errorcode& operator=(ErrorCodeEnum e) noexcept;
    27 void clear() noexcept;
    28 int value() const noexcept;
    29 const error_category& category() const noexcept;
    30 error_condition default_error_condition() const noexcept;
    31 explicit operator bool() const noexcept;
    32 };
    33 error_code make_error_code(errc e) noexcept;
    34 bool operator<(const error_code& lhs, const error_code& rhs) noexcept;
     20        error_code() noexcept;
     21        error_code(int val, const error_category& cat) noexcept;
     22        template <class ErrorCodeEnum>
     23        error_code(ErrorCodeEnum e) noexcept;
     24        void assign(int val, const error_category& cat) noexcept;
     25        template <class ErrorCodeEnum>
     26        errorcode& operator=(ErrorCodeEnum e) noexcept;
     27        void clear() noexcept;
     28        int value() const noexcept;
     29        const error_category& category() const noexcept;
     30        error_condition default_error_condition() const noexcept;
     31        explicit operator bool() const noexcept;
     32    };
     33    error_code make_error_code(errc e) noexcept;
     34    bool operator<(const error_code& lhs, const error_code& rhs) noexcept;
    3535
    3636    class error_condition {
    3737    public:
    38 error_condition() noexcept;
    39 error_condition(int val, const error_category& cat) noexcept; template <class ErrorConditionEnum>
    40 error_condition(ErrorConditionEnum e) noexcept;
    41 void assign(int val, const error_category& cat) noexcept; template<class ErrorConditionEnum>
    42 error_condition& operator=(ErrorConditionEnum e) noexcept;
    43 void clear() noexcept;
    44 int value() const noexcept;
    45 const error_category& category() const noexcept;
    46 explicit operator bool() const noexcept;
    47 
    48 };
    49 bool operator<(const error_condition& lhs, const error_condition& rhs) noexcept;
     38        error_condition() noexcept;
     39        error_condition(int val, const error_category& cat) noexcept;
     40        template <class ErrorConditionEnum>
     41        error_condition(ErrorConditionEnum e) noexcept;
     42        void assign(int val, const error_category& cat) noexcept;         
     43        template<class ErrorConditionEnum>
     44        error_condition& operator=(ErrorConditionEnum e) noexcept;
     45        void clear() noexcept;
     46        int value() const noexcept;
     47        const error_category& category() const noexcept;
     48        explicit operator bool() const noexcept;
     49    };
     50    bool operator<(const error_condition& lhs, const error_condition& rhs) noexcept;
    5051}}}
    5152