28 Mar
2007
28 Mar
'07
6:20 p.m.
Tobias Schwinger wrote:
An Associative Sequence is a Forward Sequence, so 'inherit_linearly< a_set, inherit<_1,_2> >::type' works.
Ah, thanks. The MPL Reference manual does not list set as a model of a Forward Sequence, nor does it list Associative Sequence as a model, so I foolishly assumed that a set probably violated the "two iterations through the container must see the elements in the same order" requirement. Next time I'll have to read more closely. Scott