Boost logo

Boost Users :

From: Lemings, Eric B. \(Contr\) (Eric.Lemings_at_[hidden])
Date: 2005-02-15 12:59:43


The semantics of MPL's insert metafunction for an extensible associative
sequence is defined as:

"For any Extensible Associative Sequence s, iterator pos in s, and
arbitrary type x:

typedef insert<s,x>::type r;

Semantics: r is concept-identical and equivalent to s, except that
at< r, key_type<s,x>::type >::type is identical to value_type<s,x>::type."

What happens if the key type of x is already in s?

Thanks,
Eric.


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