Boost logo

Boost Users :

From: David Klein (dave_chp_at_[hidden])
Date: 2007-03-28 19:28:11


Scott Meyers wrote:
> Ovanes Markarian wrote:
>
>> Just as addition to the issue: here you deal with a set. And in the
>> Extensible Associative Sequence the position is ignored (at least according
>> to the docs). So you can skip the usage of end<Constraints>.
>>
>
> Right, but as I noted in my original post, (1) using the two-argument form for
> insert does not change the observed behavior, and (2) I'd prefer to use the form
> taking a position, anyway, in case I decide to start using a container like
> mpl:: vector.
>
> At this point, however, I'd be happy to use any form that actually results in a
> new sequence that has one more element than the original sequence.
>
>
mpl::vector and mpl::push_back (instead of insert) seem to work.
> Scott
>
Regards,
dave


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