|
From: DerekBaker on 19 Apr 2008 17:02 Why given this: C c(5, 6, 7); // C has two ctors: one takes 3 ints, one a single int. map<int, C> TestMap; is this ok? TestMap.insert(make_pair(1, c)); but not this? TestMap[1] = c; Thanks -- Derek
|
Pages: 1 Prev: A question about structures Next: map of objects [ was map of classes] |