Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Maxatar
85 days ago
|
parent
|
context
|
favorite
| on:
Learning C3
I don't think that's much of an issue. If you need deferred initialization then stick to a pointer and then once the pointer is initialized shadow it with a reference.
int* pre_foo = null; ... initialize pre_foo ... int& foo = *pre_foo;
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: