Searched defs:throwing_node_settings (Results 1 – 1 of 1) sorted by relevance
260 struct throwing_node_settings struct262 static void throw_if_required() in throw_if_required()271 static void reset_calls_counter() { get_calls_counter_ref() = 0; } in reset_calls_counter()272 static void set_max_calls(size_t mc) { get_max_calls_ref() = mc; } in set_max_calls()274 static size_t & get_calls_counter_ref() { static size_t cc = 0; return cc; } in get_calls_counter_ref()275 …ize_t & get_max_calls_ref() { static size_t mc = (std::numeric_limits<size_t>::max)(); return mc; } in get_max_calls_ref()