LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 18584 - SD-6 Feature Test Recommendations
Summary: SD-6 Feature Test Recommendations
Status: RESOLVED FIXED
Alias: None
Product: libc++
Classification: Unclassified
Component: All Bugs (show other bugs)
Version: unspecified
Hardware: All All
: P enhancement
Assignee: Marshall Clow (home)
URL: http://isocpp.org/std/standing-docume...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-22 13:56 PST by Shea Levy
Modified: 2019-02-07 10:09 PST (History)
6 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shea Levy 2014-01-22 13:56:58 PST
Standing Document 6 recommends a series of macros for checking the status of various standard features in the implementation. While clang seems to have implemented this for pure language features, libc++ does not yet have support for this. For example, although libc++ does support compile-time integer sequences as specified in n3658, the <utility> header does not define __cpp_lib_integer_sequence as recommended by SD6.
Comment 1 Eric Fiselier 2014-08-20 18:00:41 PDT
@Marshall Ping. 

I'll make the changes, but I want your opinion on this because I have these feature test macros in my LFTS work.
Comment 2 Marshall Clow (home) 2019-02-07 10:09:34 PST
We do all of these now, thanks to Eric's work.