[SG10] Should there be feature-testing for library features?

Niall Douglas ndouglas at rim.com
Fri Jan 25 18:19:03 CET 2013


> 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?
> 
> Or would it make more sense just to limit our scope to language features?

Can I ask a stupid question?

What are we defining as a "feature"?

And should we be able to detect it at compile time, or runtime, or both?

Niall

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6091 bytes
Desc: not available
Url : http://www.open-std.org/pipermail/features/attachments/20130125/eae623c1/attachment-0001.bin 


More information about the Features mailing list