
25 Jul
2011
25 Jul
'11
7:53 a.m.
Den 23-07-2011 15:16, Mathias Gaunard skrev:
Whether the sub_range object is a temporary or not should not affect whether the wrapped object is writable or not.
You can always use iterator_range or std::make_pair() in this case. The problem also goes away with move-semantics. -Thorsten