News for hackers. Stuff that matters.
Re:Is the C++ preprocessor still needed? by klipt on Wednesday May 10, 2017 @12:50AM (#14305975)
Does const auto& work though?
Re:Is the C++ preprocessor still needed? by gpderetta on Wednesday May 10, 2017 @04:29AM (#14306729)
I normally use for(auto&& x : ...) which works with those rare containers that have proxy references, while still allowing mutation.