[cfe-dev] When did Clang/LLVM add noexcept?

Jeffrey Walton noloader at gmail.com
Sun Jul 26 16:59:26 PDT 2015


On Sun, Jul 26, 2015 at 7:46 PM, Sean Silva <chisophugis at gmail.com> wrote:
> Rather than hard-coding a version, our suggested method to check these
> things is to use our feature-checking capability. I think the one you are
> looking for is __has_feature(cxx_noexcept)/__has_extension(cxx_noexcept)
>
> http://clang.llvm.org/docs/LanguageExtensions.html#has-feature-and-has-extension
>

I like it. Thanks Sean.



More information about the cfe-dev mailing list