diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-04 22:09:21 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-08 23:13:24 +0200 |
commit | 927937d6105d17fbcd8c85bbf185477d87264bc4 (patch) | |
tree | ef5ab7eb5c0bd6ebfce721b99e1464183a09a364 /src/filelogger.cpp | |
parent | 9fc218c005543384bcad73747a0574c8c6ab6289 (diff) |
Rework dynamic_reference management, introduce dynamic_reference_nocheck
New dynamic references are now resolved at construction and all of them are re-resolved when a relevant service is added or removed; resolution is no longer done in operator->
dynamic_reference_nocheck is a variant of dynamic_reference that does not check for value being null in operator-> / operator*
dynamic_reference still throws an exception when used in this case
Both kinds of dynamic references support .check(): an exception is thrown if this is called when value is null
Diffstat (limited to 'src/filelogger.cpp')
0 files changed, 0 insertions, 0 deletions