[libcxx-commits] [PATCH] D145589: [libc++] Make std::allocator_arg and friends conforming in C++17
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 19 14:33:08 PDT 2023
ldionne added a comment.
In D145589#4178836 <https://reviews.llvm.org/D145589#4178836>, @philnik wrote:
> In D145589#4178824 <https://reviews.llvm.org/D145589#4178824>, @Mordante wrote:
>
>> LGTM, but I really would like to use a helper macro over `#ifdef`s.
>
> Another option would be to just always mark them `inline`. Both clang and GCC support this as an extension.
C++11 and C++14 didn't mark those as `inline`, so I'm not sure we should (even though I agree having them non-inline makes little sense).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145589/new/
https://reviews.llvm.org/D145589
More information about the libcxx-commits
mailing list