[libcxx-commits] [PATCH] D114733: [libc++] Make __wrap_iter constexpr
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 29 12:10:19 PST 2021
philnik created this revision.
philnik added reviewers: ldionne, Quuxplusone, Mordante.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
`__wrap_iter` is currently only constexpr if it's not a debug built, but it isn't used in a constexpr context currently. Making it always constexpr and disabling the debugging utilities at constant evaluation is more usful since it has to be always constexpr to be used in a constexpr context.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114733
Files:
libcxx/include/__config
libcxx/include/__iterator/wrap_iter.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114733.390436.patch
Type: text/x-patch
Size: 12448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211129/2c949543/attachment.bin>
More information about the libcxx-commits
mailing list