Boost logo

Boost Users :

Subject: Re: [Boost-users] Issues trying to use boost::unordered_map
From: Leon Mlakar (leon_at_[hidden])
Date: 2016-09-29 08:53:36


On 29.09.2016 10:27, Ram wrote:
> Hi Gavin,
>
> I guess my previous mail didnt reach you due to its size. Here it is,
> "
> Hi Gavin,
>
> [
> If you rename the .i file as a .cpp you can then add it to your
> project and right-click-Compile it individually. If it still shows
> the original line numbers then generate the .i file again but turn on
> the "Preprocess Suppress Line Numbers" setting as well.
> ]
> I will definitely try this right away and let you know.
>
> [
> Since this is C++11 code, let's go back to basics for a moment.
> Exactly *which* version of Visual Studio are you using?
> ]
> I am NOT using C++11. I am using Visual Studio 2005,
> Microsoft Visual Studio 2005
> Version 8.0.50727.867 (vsvista.050727-8600)

This:

void construct(_Objty *_Ptr, _Types&&... _Args) { ::new ((void *)_Ptr)
_Objty(::std:: forward<_Types>(_Args)...); } is C++11 code. Best
regards, Leon



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