Perhaps a better example be something like: smart_ptr<auto> x = foo();
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 pointer x =…
Perhaps a better example be something like: smart_ptr<auto> x = foo();
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 pointer x =…