Boost logo

Boost Users :

Subject: Re: [Boost-users] Collections versus std::map
From: Benson Margulies (bimargulies_at_[hidden])
Date: 2008-10-17 10:22:36

I've made some progress here, and I'd like to replace my previous
question with two new ones:

1) The value type for the mapped_vector must construct over int to
allow value_type(0). Howcome? What's wrong with a no-args constructor?

2) I am trying to replace some code that said:

  my_value_type* p = &container[index] = another_value;

I keep getting stuck on various intermediate types. Is there a recipe for this?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at