diff --git a/doc/reference.html b/doc/reference.html index 7b592e1..05c2102 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -370,8 +370,8 @@ this subclause.

Returns:  error_condition( ev, *this ).

-

 [--Note: Derived classes will typically convert ev - to some portable error_category, such as generic_category, +

 [--Note: Derived classes will typically convert ev + to some portable error_category, such as generic_category(), and return it as an error_condition for that category. --end note]

@@ -422,10 +422,6 @@ non-member functions identifying portable error conditions.

Throws: Nothing.

-

Class error_category -predefined objects

-

Predefined objects system_category -and generic_category identify system specific error codes and portable error conditions, respectively.

Class error_code

The class error_code describes an object used to hold error code @@ -447,14 +443,12 @@ error_code synopsis error_code(); error_code( val, const error_category & cat ); template <class ErrorCodeEnum> - error_code( ErrorCodeEnum e, - typename enable_if<is_error_code_enum<ErrorCodeEnum> >::type* = 0); + error_code( ErrorCodeEnum e ); // modifiers: void assign( int val, const error_category & cat ); template<typename ErrorCodeEnum> - typename enable_if<is_error_code_enum<ErrorCodeEnum>, error_code>::type & - operator=( ErrorCodeEnum val );; + error_code & operator=( ErrorCodeEnum val );; void clear(); // observers: @@ -476,7 +470,7 @@ error_code constructors

error_code();

Effects: Constructs an object of type error_code.

-

Postconditions: val_ == 0 && cat_ == &system_category.

+

Postconditions: val_ == 0 && cat_ == &system_category().

Throws: Nothing.

error_code( int val, const error_category & cat );
@@ -486,12 +480,14 @@ error_code constructors

Throws: Nothing.

template <class ErrorCodeEnum>
-  error_code( errorCodeEnum val,
-    typename enable_if<is_error_code_enum<ErrorCodeEnum> >::type* = 0);
+ error_code( ErrorCodeEnum val );

Effects: Constructs an object of type error_code.

Postconditions: *this == make_error_code( val ).

Throws: Nothing.

+

Remarks: This constructor shall not participate in overload + resolution unless is_error_code_enum<ErrorCodeEnum>::value is + true.

Class error_code modifiers

@@ -501,15 +497,17 @@ error_code modifiers

Throws: Nothing.

template<typename ErrorCodeEnum>
-  typename enable_if<is_error_code_enum<ErrorCodeEnum>, error_code>::type &
-    operator=( ErrorCodeEnum val );
+ error_code & operator=( ErrorCodeEnum val );

Postconditions: *this == make_error_code( val ).

Throws: Nothing.

+

Remarks: This operator shall not participate in overload resolution + unless is_error_code_enum<ErrorCodeEnum>::value is true.

void clear();

-

postcondition: value() == 0 && category() == generic_category

+

postcondition: value() == 0 && category() == + system_category()

Class error_code observers

@@ -565,14 +563,12 @@ implementation specific. --end note ]

error_condition(); error_condition( int val, const error_category & cat ); template <class ErrorConditionEnum> - error_condition( errorConditionEnum val, - typename enable_if<is_error_condition_enum<ErrorConditionEnum> >::type* = 0 ); + error_condition( errorConditionEnum val ); // modifiers: void assign( int val, const error_category & cat ); template<typename ErrorConditionEnum> - typename enable_if<is_error_condition_enum<ErrorConditionEnum>, error_code>::type & - operator=( ErrorConditionEnum val ); + error_condition & operator=( ErrorConditionEnum val ); void clear(); // observers: @@ -593,7 +589,7 @@ constructors
error_condition(); 

Effects: Constructs an object of type error_condition.

-

Postconditions: val_ == 0 and cat_ == &generic_category.

+

Postconditions: val_ == 0 and cat_ == &generic_category().

Throws: Nothing.

error_condition( int val, const error_category & cat );
@@ -603,12 +599,14 @@ constructors

Throws: Nothing.

template <class ErrorConditionEnum>
-  error_condition( errorConditionEnum val,
-    typename enable_if<is_error_condition_enum<ErrorConditionEnum> >::type* = 0 );
+ error_condition( ErrorConditionEnum e );

Effects: Constructs an object of type error_condition.

-

Postconditions: *this == make_error_condition( val ).

+

Postconditions: *this == make_error_condition(e).

Throws: Nothing.

+

Remarks: This constructor shall not participate in overload + resolution unless is_error_condition_enum<ErrorConditionEnum>::value + is true.

Class error_condition modifiers

@@ -618,15 +616,18 @@ modifiers

Throws: Nothing.

template<typename ErrorConditionEnum>
-  typename enable_if<is_error_condition_enum<ErrorConditionEnum>, error_code>::type &
-    operator=( ErrorConditionEnum val );
+ error_condition & operator=( ErrorConditionEnum e );
-

Postconditions: *this == make_error_condition( val ).

+

Postconditions: *this == make_error_condition( e ).

+

Returns: *this.

Throws: Nothing.

+

Remarks: This operator shall not participate in overload resolution + unless is_error_condition_enum<ErrorConditionEnum>::value is + true.

void clear();

-

postcondition: value() == 0 && category() == generic_category

+

postcondition: value() == 0 && category() == generic_category()

Class error_condition observers

@@ -738,11 +739,11 @@ bool operator!=( const error_condition & condition, const error_code & c
error_code make_error_code( errc::errc_t e );
-

Returns: error_code( e, generic_category).

+

Returns: error_code( e, generic_category()).

error_condition make_error_condition( errc::errc_t e );
-

Returns: error_condition( static_cast<int>( e ), generic_category).

+

Returns: error_condition( static_cast<int>( e ), generic_category()).

template <class charT, class traits>
@@ -839,7 +840,7 @@ application program interfaces.


Revised -May 31, 2010 +June 29, 2010

© Copyright Beman Dawes, 2006, 2007, 2008