Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kruffin
on April 19, 2013
|
parent
|
context
|
favorite
| on:
Why Maybe Is Better Than Null
It's Java ;P I haven't used C++ in a long time. But you are correct a reference does exactly what he wants.
For anyone who needs to look it up like me:
http://en.wikipedia.org/wiki/Reference_(C%2B%2B)
acomar
on April 19, 2013
[–]
Except the reference can itself be null, which is still problematic.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
For anyone who needs to look it up like me: http://en.wikipedia.org/wiki/Reference_(C%2B%2B)