Richard Smith wrote:
> The patch looks good to me, but I have a more general question before we go
> ahead with this: should we continue to add Clang-specific __has_feature
> tests for features that are covered by C++'s SD-6 feature test
> recommendations?
[...]
> ... and there seems to be no reason for portable code to use __has_feature
> for this check.

Ah, I didn't realize that Clang has implemented SD-6 feature-test macros.
(I'll update Clang's config in Boost.Config to use them.)

So it makes sense to provide only SD-6 macros. But, for C++14 features,
I would think having __has_feature macros would be better. For TS and C++1z
features, I don't think it's necessary to provide __has_feature macros.

Patch for __cpp_digit_separators attached.


Regards,
Michel

Attachment: cpp_digit_separators.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to