
assert to safeguard against dereferenced 0 pointers
This policy allows 0 SmartPointer s, however, they may not be dereferenced (obviously). Due to the use of assert, this policy provides some degree of safety in the debug build but is effectively unchecked in the release build.
Protected Member Functions | |
| template<typename U> | |
| AssertDereference (const AssertDereference< U > &) | |
| template<typename U> | |
| AssertDereference (const NoChecking< U > &) | |
| AssertDereference () | |
Static Protected Member Functions | |
| static void | checkDefault (const Str &) |
| static void | checkDereference (const Str &s) |
| static void | checkInit (const Str &) |
| static void | swap (AssertDereference &) |
|
|||||||||
|
|
|
||||||||||||||
|
|
|
||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
1.4.3