Boost logo

Boost-Build :

Subject: [Boost-build] boost config macro to check C++11 initialization list support
From: Tal Lancaster (tal.lancaster_at_[hidden])
Date: 2017-05-26 13:56:17


Hi,

I am looking for a macro to determine if the compiler has C++11 initialization list support. For example:

    std::map <int, int> m { {1, 1}, {5,5} };

Is BOOST_NO_CXX11_HDR_INITIALIZER_LIST, the proper macro to use?

Thanks,

Tal


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk