16 Nov
2017
16 Nov
'17
3:21 p.m.
On 16 November 2017 at 15:10, Peter Dimov via Boost
Stefan Seefeld wrote:
It looks like we falsely assume the compiler understands C++11 and thus use attempt to use std::integral_constant. Could it be that the conditional in https://github.com/boostorg/python/blob/develop/include/boost/python/detail/... is wrong ?
You should probably be checking BOOST_NO_CXX11_HDR_TYPE_TRAITS there unless you have a specific reason not to do so.
Yes, but I think the error is because it doesn't understand the C++11
type alias. Better to use:
typedef std::integral_constant