
14 Jun
2010
14 Jun
'10
1:57 p.m.
Christopher, thanks for inquiring.
and:
makestd::vector(1,2,3,4,5); // Makes a std::vector<int> containing 1,2,3,4,5 make_list(1,2,3,4,5); // Makes a list which can be assigned to any standard container, filling it with 1,2,3,4,5.
Something similar is already possible before the proposed extension e.g.
list_of(1)(2)(3)(4)(5).convert_to_container