c-cast from void* works
This commit is contained in:
parent
8bc35cef8e
commit
9092970b7d
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ int main() {
|
|||
|
||||
std::cout << "== ccast" << std::endl;
|
||||
ccast(&a);
|
||||
ccast(&base);
|
||||
ccast(&base); // XXX actually works!
|
||||
|
||||
std::cout << "== staticcast" << std::endl;
|
||||
staticcast(&a);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue