Re:C++11 FAQ
by Koshkin on Thursday January 26, 2017 @01:56PM
(#13494158)
No, the original sin was C's and it was the use of a separate "arrow" operator for accessing fields of a struct through a pointer. Other languages (C#, Java) successfully avoided that. C++ references allow templated code to be agnostic of whether an object is given by value or by reference, because the syntax is now more uniform.
[ Parent
| on HN ]
There are no comments on this comment yet.