Boost logo

Boost Users :

Subject: Re: [Boost-users] Insertion/Use of boost::multi_index - new thread
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-09-21 01:07:57


On 21/09/2016 16:58, Ram wrote:
> I simplified my problem to make sure it was not because of my class or
> something like that, this is the exact content(related to
> boost::multi_index) in the header file,
[...]
> c:\sample\common\lib\boost\boost\detail\allocator_utilities.hpp(153) :
> error C2061: syntax error : identifier 'p'

Do you have something that #defines new to something else? (It's not
uncommon for old-school memory leak detectors and the like.)

Try removing that.


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