22 Sep
2014
22 Sep
'14
8:45 a.m.
On 21-09-2014 21:54, Aaron Levy wrote:
Is there a way to generate a list of value pairs using ref_list_of or cref_list_of. Maybe such a list could be assigned to a map. Something like:
ref_list_of
>("foo", "bar")("foo1", "bar1")...; or
std::map
names = ref_list_of >("foo", "bar")("foo1", "bar1")...;
I would have thought e.g. cref_list_of to work fine with std::pair