Boost logo

Boost :

Subject: Re: [boost] [config] defect macro for chrono literals
From: John Maddock (jz.maddock_at_[hidden])
Date: 2017-04-14 11:03:15


On 14/04/2017 11:09, Oliver Kowalke via Boost wrote:
> boost.config defines BOOST_NO_CXX11_USER_DEFINED_LITERALS but I believe
> this defect macro could not be used for detecting chrono literals support.
>
> Should the new BOOST_NO_CXX14_CHRONO_LITERALS depend on the compiler or
> stdlib version?
> AFAIK chrono literals are available since gcc-4.9.3 (clang?, intel?, msvc?).

It's a bit of both - certainly it's a std lib feature, but it's also
dependent on the compiler being in C++14 mode I assume?

---
This email has been checked for viruses by AVG.
http://www.avg.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk