Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stinos
on Aug 24, 2014
|
parent
|
context
|
favorite
| on:
Show HN: C/C++ Development Environment for Emacs
The design of C++11 started way before 2011, hence articles from 2008.
get_pointer() = 1;
assigning 1 to a pointer isn't the best idea :P so I think you mean you read
int& get_reference(); get_reference() = 1;
which is about
lvalue references
, not
rvalue references
, and has existed in C++ since the beginning.
tuhdo
on Aug 24, 2014
[–]
Thanks for the explanation.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: