Skip to content

Commit

Permalink
fix Exervice 4.37
Browse files Browse the repository at this point in the history
  • Loading branch information
ifgladlee authored and pezy committed Jan 26, 2015
1 parent a50e862 commit ee48bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch04/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ int i; double d; const string *ps; char *pc; void *pv;
pv = (void*)ps; // pv = const_cast<string*>(ps); or pv = static_cast<void*>(const_cast<string*>(ps));
i = int(*pc); // i = static_cast<int>(*pc);
pv = &d; // pv = static_cast<void*>(&d);
pc = (char*)pv; // pc = reinterpret_cast<char*>(pv);
pc = (char*)pv; // pc = static_cast<char*>(pv); ref: Page 163.
```

##Exercise 4.38
Expand Down

0 comments on commit ee48bdc

Please sign in to comment.