Skip to content

US213 20.10.08.2 p17 uninitialized_construct_using_allocator should use construct_at LWG 3321 #210

@wg21bot

Description

@wg21bot

uninitialized_construct_using_allocator should use construct_at instead of operator new

Proposed change:
Effects: Equivalent to:

return ::new(static_cast<void*>(p)) construct_at(p,
         T(make_obj_using_allocator<T>(alloc, std::forward<Args>(args)...)));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions