Skip to content

__cpp_lib_make_unique not defined in <memory> #38192

Closed

Description

@apolukhin
Bugzilla Link 38844
Resolution FIXED
Resolved on Feb 07, 2019 09:35
Version 7.0
OS Linux
CC @apolukhin,@dwblaikie,@mclow

Extended Description

Multiple projects suffer from that (see https://reviews.freebsd.org/rP460135 as an example).

Please add the following line

#define __cpp_lib_make_unique 201304

near make_unique definition.

Activity

  1. apolukhin commented on Sep 5, 2018

    @apolukhin
    MemberAuthor

    assigned to @mclow

  2. mclow commented on Sep 5, 2018

    @mclow
    Contributor

    Currently, libc++ does not define any feature macros.

    These were not required, but rather were advisory.
    This will be changing for C++20 (see https://wg21.link/P0941)

  3. mclow commented on Sep 5, 2018

    @mclow
    Contributor

    Currently, libc++ does not define any feature macros.

    Ok, I was wrong. We define a couple.
    Someone must have snuck them in when I wasn't paying close enough attention.

  4. mclow commented on Feb 7, 2019

    @mclow
    Contributor

    This has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillalibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions