Re:A static_cast is not always just a pointer adjustment
by catnaroek on Sunday April 03, 2016 @02:49PM
(#11417118)
The very concept of a nullable pointer is problematic, because it means that every dereference operation is potentially unsafe.
The only satisfactory solution is to enforce, using the type system, the rule that moved objects can't be reused. Unfortunately, C++'s type system can't express this.
The only satisfactory solution is to enforce, using the type system, the rule that moved objects can't be reused. Unfortunately, C++'s type system can't express this.