Re:We have C++14
by nly on Monday August 18, 2014 @06:37PM
(#8195093)
You want to use 'T const&' as your argument type, not 'T', otherwise foo() will take a copy of anything you pass.
[ Parent
| on HN ]
There are no comments on this comment yet.