Boost logo

Boost Users :

Subject: Re: [Boost-users] [Interprocess] updating elements in vector of maps fails in optimized code
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-05-12 16:30:35


El 12/05/2011 22:14, Ion Gaztañaga escribió:

Sorry, it should be (copy/paste error when replying too quickly):

Code is wrong, because allocator must be defined as:

typedef std::pair<CONST int,double> MapValue_t;

instead of

typedef std::pair<int,double> MapValue_t;


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