Boost logo

Boost Users :

Subject: Re: [Boost-users] Config/compiler/visualc.hpp and traits
From: Soul Studios (matt_at_[hidden])
Date: 2015-08-13 21:47:10


On 14/08/2015 1:15 p.m., Glen Fernandes wrote:
> On Thu, Aug 13, 2015 at 7:58 PM, Soul Studios <matt_at_[hidden]> wrote:
>> visual studio compiler information appears to be out of date or innaccurate
>> in 1.59-
>> Visual Studio 2012 and upwards supports type traits, anything less does not.
>> The appropriate macro defines for this should be added to visualc.hpp.
>
> Which macro should be in config/compiler/visualc.hpp?
>
> Right now boost/config/stdlib/dinkumware.hpp has
> BOOST_NO_CXX11_HDR_TYPE_TRAITS defined for Dinkumware versions 520 and
> lower - i.e. that macro is would not be defined for VC11 and higher.

Okay, I'm no good at understanding the sprawl of dependencies which
constitute boost's macro defines, but I'll take your word for it.
Why that particular C++11 macro define is in another file, while almost
all the others are defined in the compiler-specific hpp, is beyond
comprehension.


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