diff options
| author | 2013-04-04 22:09:21 +0200 | |
|---|---|---|
| committer | 2013-04-08 23:13:24 +0200 | |
| commit | 927937d6105d17fbcd8c85bbf185477d87264bc4 (patch) | |
| tree | ef5ab7eb5c0bd6ebfce721b99e1464183a09a364 /src/configreader.cpp | |
| parent | Remove OnAddBan and OnDelBan hooks (diff) | |
| download | inspircd++-927937d6105d17fbcd8c85bbf185477d87264bc4.tar.gz inspircd++-927937d6105d17fbcd8c85bbf185477d87264bc4.tar.bz2 inspircd++-927937d6105d17fbcd8c85bbf185477d87264bc4.zip | |
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/configreader.cpp')
0 files changed, 0 insertions, 0 deletions
