HomePhabricator

[libcxx] Use custom allocator's `construct` in C++03 when available.

Description

[libcxx] Use custom allocator's construct in C++03 when available.

Makes libc++ behavior consistent between C++03 and C++11.

Can use decltype in C++03 because include/__config defines a macro when
decltype is not available.

Reviewers: mclow.lists, EricWF, erik.pilkington, ldionne

Reviewed By: ldionne

Subscribers: dexonsmith, cfe-commits, howard.hinnant, ldionne, christof, jkorous, Quuxplusone

Differential Revision: https://reviews.llvm.org/D48753

Details

Committed
vsapsaiDec 19 2018, 12:08 PM
Reviewer
ldionne
Differential Revision
D48753: [libcxx] Use custom allocator's `construct` in C++03 when available.
Branches
Unknown
Tags
Unknown