Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidshin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
davidshin
11y ago
Perhaps a better example be something like: smart_ptr<auto> x = foo();
2.
▲
by
davidshin
11y ago
Will best practice for the auto keyword change when c++ concepts finally arrive? Of the 3 options below, the third seems best to me: SomeReallyLongTypeName* x = foo(); // old-school auto x = foo(); // c++11 p