
Hicham Mouline wrote:
hello, as i don't immediately see an MPL equivalent of multimap, here is what i am trying to achieve.
I have a number of models (200 types, all of them inherit from 1 base class) and a number of contracts(400 types, also all them inherit from 1 base class), and I try to write a test suite for valid combinations. Was there a multimap in MPL, i would have stored this matrix: model1 contract1, contract17, contract156 model2 contract17 ... model200 contract23
or symetrically, indexed by contract in a multimap.
Does this not work?
typedef mpl::map< mpl::pair