Date: Thu, 24 Jan 2013 19:13:11 -0800
On Thu, Jan 24, 2013 at 4:38 PM, Nelson, Clark <clark.nelson_at_[hidden]> wrote:
> Here I'm way out of my depth; I'm a C++ language implementer, not a user. Maybe SFINAE makes many kinds of library feature testing unnecessary.
>
> But at the very least, I know that there's no way to use SFINAE to see whether an implementation has a specific library header. Would there be value in enabling people to write code that will adapt at that level to implementations that have made different degrees of progress toward implementing standard library features?
We have some implementation experience here: Clang provides a
__has_include, but nothing more granular.
> Or would it make more sense just to limit our scope to language features?
>
> --
> Clark Nelson Vice chair, PL22.16 (ANSI C++ standard committee)
> Intel Corporation Chair, SG10 (WG21 study group for feature-testing)
> clark.nelson_at_[hidden]
> _______________________________________________
> Features mailing list
> Features_at_[hidden]
> http://www.open-std.org/mailman/listinfo/features
> Here I'm way out of my depth; I'm a C++ language implementer, not a user. Maybe SFINAE makes many kinds of library feature testing unnecessary.
>
> But at the very least, I know that there's no way to use SFINAE to see whether an implementation has a specific library header. Would there be value in enabling people to write code that will adapt at that level to implementations that have made different degrees of progress toward implementing standard library features?
We have some implementation experience here: Clang provides a
__has_include, but nothing more granular.
> Or would it make more sense just to limit our scope to language features?
>
> --
> Clark Nelson Vice chair, PL22.16 (ANSI C++ standard committee)
> Intel Corporation Chair, SG10 (WG21 study group for feature-testing)
> clark.nelson_at_[hidden]
> _______________________________________________
> Features mailing list
> Features_at_[hidden]
> http://www.open-std.org/mailman/listinfo/features
Received on 2013-01-25 04:13:12