29 Jan
2013
29 Jan
'13
12:25 p.m.
Hi Joel,
2013/1/29 Joel de Guzman
On 1/29/13 5:36 PM, TONGARI wrote:
Hi,
I'd expect the associative sequence could be constructed and assigned with another sequence in different order. But it doesn't work, the src sequence must in the same order as the dst sequence defined. E.g. map
, pair > cannot take make_map (1, 2). This is a bit disappointing :-(
Yep. It's the way it is currently. I might be reworking maps though so I'll keep this use-case in mind with the update.
Thanks for your attention :) Now I'm thinking if we could have these: mapping(dst, src) // all the intersected left_mapping(dst, src) // requires dst <= src right_mapping(dst, src) // requires dst >= src full_mapping(dst, src) // requires equivalence