24 Sep
2008
24 Sep
'08
1:37 p.m.
Thorsten Ottosen wrote:
Nat Goodspeed skrev:
template
TYPE make_from_range(const RANGE& range);
http://www.boost.org/doc/libs/1_36_0/libs/range/doc/utility_class.html#copy_...
*blush* Thanks. I don't know why that didn't jump out at me when I looked through the documentation. Perhaps a brief usage example would have caught my attention more successfully. I'm still interested in the problem of declaring a local instance of a standard container without having to restate its type. I'd be happy with either Roman's approach or my own suggestion, but I do think the library would benefit from the addition of some such feature.