
On Thu, Feb 16, 2012 at 3:39 PM, Daniel James <dnljms@gmail.com> wrote:
2012/2/14 Ion Gaztañaga <igaztanaga@gmail.com>:
El 14/02/2012 23:50, Ion Gaztañaga escribió:
El 14/02/2012 19:00, Robert Dailey escribió:
Unfortunately it does print 1 for me :(
Anyone know of a way to fix this for MSVC 7.1?
There is a allocator_traits class in Boost.Container that worksin MSVC7.1
Just a note, the implementation was committed for Boost 1.49.
I've changed unordered in trunk to use it for old versions of visual c++. Although it's untested and I've no idea if it'll work. It should be possible to just copy the relevant header into boost 1.48. It's at:
http://svn.boost.org/svn/boost/trunk/boost/unordered/detail/allocator_helper...
I replaced my allocator_helpers.hpp with yours and I get: C:\Code\work\cmake-gfe-dev\build-vc7\third_party\boost\1.48.0\include\boost\unordered\detail\allocator_helpers.hpp(47) : fatal error C1083: Cannot open include file: 'boost/container/allocator/allocator_traits.hpp': No such file or directory