Boost logo

Boost Users :

From: Scott Meyers (usenet_at_[hidden])
Date: 2007-03-28 14:20:05


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net