28 May
2014
28 May
'14
9:45 a.m.
I'm studying the implementation of foreach and I had a question about
should_copy_impl. For reference, here's the overload that's vexing me:
// If the collection is an array or is noncopyable, it must be an lvalue.
// If the collection is a lightweight proxy, treat it as an rvalue
// BUGBUG what about a noncopyable proxy?
template