This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 01/05/15 22:02 -0400, Ed Smith-Rowland wrote:
On 05/01/2015 05:01 PM, Jonathan Wakely wrote:I pretty sure we're supposed to add the macro for *all* the headers that got enable_if.On 01/05/15 16:37 +0300, Ville Voutilainen wrote:Tested on Linux-x64. Implement observer_ptr.Thanks! Committed with some minor formatting changes. I've also committed this to add feature-test macros and update the docs. Tested powerpc64le-linux, committed to trunk.
That's not how I read the Fundamentals TS: Programmers who wish to determine whether a feature is available in an implementation should base that determination on the presence of the header (determined with __has_include(<header/name>)) and the state of the macro with the recommended name. And the header for erase_if is listed as <experimental/vector>.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |