This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TS status.

### 2656. [filesys.ts] [PDTS] Feature test macro for TS version

Section: 5 [filesys.ts::fs.req] Status: TS Submitter: Clark Nelson Opened: 2014-02-10 Last modified: 2017-07-30

Priority: Not Prioritized

View all other issues in [filesys.ts::fs.req].

View all issues with TS status.

Discussion:

Addresses: filesys.ts

SD-6: SG10 Feature Test Recommendations recommends that each library header provide feature test macros. For Technical Specifications, the TS itself should specify recommended names for the feature test macros.

[Beman Dawes 2014-02-28 provided the proposed resolution. Thanks to Vicente J. Botet Escriba, Richard Smith, and Clark Nelson for suggestions and corrections.]

Proposed resolution:

Add a new sub-section:

> 5.2 Feature test macros [fs.req.macros]

> This macro allows users to determine which version of this Technical Specification is supported by header `<experimental/filesystem>`.

> Header `<experimental/filesystem>` shall supply the following macro definition:

> >     #define __cpp_lib_experimental_filesystem     201406

> [Note: The value of macro `__cpp_lib_experimental_filesystem` is yyyymm where yyyy is the year and mm the month when the version of the Technical Specification was completed. — end note]