4 ms·
Yeah, this special case always weirded me out, it's hard to see a justifiable use case. In regular usage you'd use auto& instead to achieve the same effect. C+
by pbsd 13y ago
Yeah, this special case always weirded me out, it's hard to see a justifiable use case. In regular usage you'd use auto& instead to achieve the same effect.
C++14's decltype(auto) confuses things even further: http://coliru.stacked-crooked.com/a/f7d8195efc4708f3 http://coliru.stacked-crooked.com/a/f7d8195efc4708f3