#include <limits>
#include <boost/thread.hpp>
#include <boost/utility/value_init.hpp>
Go to the source code of this file.
◆ AUTO_VAL_INIT
| #define AUTO_VAL_INIT |
( |
| v | ) |
|
Value:boost::value_initialized<decltype(v)>()
Definition at line 53 of file misc_language.h.
◆ STD_TRY_BEGIN
| #define STD_TRY_BEGIN |
( |
| ) |
|
◆ STD_TRY_CATCH
| #define STD_TRY_CATCH |
( |
| where_, |
|
|
| ret_val ) |
Value:} \
catch (const std::exception &e) \
{ \
LOG_ERROR("EXCEPTION: " << where_ << ", mes: "<< e.what()); \
return ret_val; \
} \
catch (...) \
{ \
LOG_ERROR("EXCEPTION: " << where_ ); \
return ret_val; \
}
Definition at line 38 of file misc_language.h.
38#define STD_TRY_CATCH(where_, ret_val) \
39 } \
40 catch (const std::exception &e) \
41 { \
42 LOG_ERROR("EXCEPTION: " << where_ << ", mes: "<< e.what()); \
43 return ret_val; \
44 } \
45 catch (...) \
46 { \
47 LOG_ERROR("EXCEPTION: " << where_ ); \
48 return ret_val; \
49 }