Closed kpp closed 11 years ago
С-style casts are not checked by compiler, they may fail at runtime. What is more important, static_cast produces type safety.
Goals:
TVMExecutionContext::stackPop<>()
Image::readObject<>()
TArray::getField<>();
SmalltalkVM::newObject<Unspecialized>
SmalltalkVM::newObject<Specialized>
hptr_base
С-style casts are not checked by compiler, they may fail at runtime. What is more important, static_cast produces type safety.
Goals:
TVMExecutionContext::stackPop<>()
Image::readObject<>()
TArray::getField<>();
SmalltalkVM::newObject<Unspecialized>
with static_castSmalltalkVM::newObject<Specialized>
with static_casthptr_base