An object of this type will cause the following functions to throw a config::error instead of returning a reference to the invalid config for the duration of its lfetime. More...
#include <config.hpp>
Public Member Functions | |
throw_when_child_not_found () | |
~throw_when_child_not_found () | |
Static Public Member Functions | |
static bool | do_throw () |
Static Private Attributes | |
static unsigned | instances = 0 |
Friends | |
class | config |
An object of this type will cause the following functions to throw a config::error instead of returning a reference to the invalid config for the duration of its lfetime.
If multiple instances exist simultaneously, this behavior will persist until all objects are destroyed.
child
find_child
Definition at line 313 of file config.hpp.
|
inline |
Definition at line 318 of file config.hpp.
|
inline |
Definition at line 323 of file config.hpp.
|
inlinestatic |
Definition at line 328 of file config.hpp.
Referenced by config::child(), and config::find_child().
|
friend |
Definition at line 316 of file config.hpp.
|
inlinestaticprivate |
Definition at line 334 of file config.hpp.