MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / error_code

Function error_code

extern/boost/boost/system/detail/error_code.hpp:142–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 template<class ErrorCodeEnum> error_code( ErrorCodeEnum e, source_location const * loc,
143 typename detail::enable_if<is_error_code_enum<ErrorCodeEnum>::value>::type* = 0 ) BOOST_NOEXCEPT:
144 d1_(), lc_flags_( 0 )
145 {
146 error_code e2 = make_error_code( e );
147
148 if( e2.lc_flags_ == 0 || e2.lc_flags_ == 1 )
149 {
150 *this = e2;
151 }
152 else
153 {
154 *this = error_code( e2.d1_.val_, *e2.d1_.cat_, loc );
155 }
156 }
157
158#if defined(BOOST_SYSTEM_HAS_SYSTEM_ERROR)
159

Callers 2

error_code.hppFile · 0.70
assignFunction · 0.70

Calls 1

make_error_codeFunction · 0.50

Tested by

no test coverage detected