Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49290 - trunk/boost/system
From: bdawes_at_[hidden]
Date: 2008-10-12 09:07:11


Author: bemandawes
Date: 2008-10-12 09:07:11 EDT (Sun, 12 Oct 2008)
New Revision: 49290
URL: http://svn.boost.org/trac/boost/changeset/49290

Log:
Change names to ErrorCodeEnum and ErrorConditionEnum to conform to N2798
Text files modified:
   trunk/boost/system/error_code.hpp | 24 ++++++++++++------------
   1 files changed, 12 insertions(+), 12 deletions(-)

Modified: trunk/boost/system/error_code.hpp
==============================================================================
--- trunk/boost/system/error_code.hpp (original)
+++ trunk/boost/system/error_code.hpp 2008-10-12 09:07:11 EDT (Sun, 12 Oct 2008)
@@ -224,9 +224,9 @@
       error_condition() : m_val(0), m_cat(&get_generic_category()) {}
       error_condition( int val, const error_category & cat ) : m_val(val), m_cat(&cat) {}
 
- template <class ConditionEnum>
- error_condition(ConditionEnum e,
- typename boost::enable_if<is_error_condition_enum<ConditionEnum> >::type* = 0)
+ template <class ErrorConditionEnum>
+ error_condition(ErrorConditionEnum e,
+ typename boost::enable_if<is_error_condition_enum<ErrorConditionEnum> >::type* = 0)
       {
         *this = make_error_condition(e);
       }
@@ -239,9 +239,9 @@
         m_cat = &cat;
       }
                                              
- template<typename ConditionEnum>
- typename boost::enable_if<is_error_condition_enum<ConditionEnum>, error_condition>::type &
- operator=( ConditionEnum val )
+ template<typename ErrorConditionEnum>
+ typename boost::enable_if<is_error_condition_enum<ErrorConditionEnum>, error_condition>::type &
+ operator=( ErrorConditionEnum val )
       {
         *this = make_error_condition(val);
         return *this;
@@ -311,9 +311,9 @@
       error_code() : m_val(0), m_cat(&get_system_category()) {}
       error_code( int val, const error_category & cat ) : m_val(val), m_cat(&cat) {}
 
- template <class CodeEnum>
- error_code(CodeEnum e,
- typename boost::enable_if<is_error_code_enum<CodeEnum> >::type* = 0)
+ template <class ErrorCodeEnum>
+ error_code(ErrorCodeEnum e,
+ typename boost::enable_if<is_error_code_enum<ErrorCodeEnum> >::type* = 0)
       {
         *this = make_error_code(e);
       }
@@ -325,9 +325,9 @@
         m_cat = &cat;
       }
                                              
- template<typename CodeEnum>
- typename boost::enable_if<is_error_code_enum<CodeEnum>, error_code>::type &
- operator=( CodeEnum val )
+ template<typename ErrorCodeEnum>
+ typename boost::enable_if<is_error_code_enum<ErrorCodeEnum>, error_code>::type &
+ operator=( ErrorCodeEnum val )
       {
         *this = make_error_code(val);
         return *this;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk