Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
watergatorman
on May 17, 2019
|
parent
|
context
|
favorite
| on:
C Constructs That Don't Work in C++
"... const int* x_ptr_3 = &x; // (3) ... Finally, we see the preferred approach, which is taking a const pointer (3)"
Not a const pointer, but a pointer to const int.
jalospinoso
on May 18, 2019
[–]
Thank you for the correction!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Not a const pointer, but a pointer to const int.