C++11: Beware unnecessary copies with auto
It's easy to copy unintentionally when using 'auto', particularly inside range-based for loops. Best practise is to use 'const&' unless there's a good reason not to. llvm-svn: 202729
Loading
Please register or sign in to comment