[libcxx-commits] [PATCH] D103056: [libcxx][ranges] Add `ranges::transform_view`.
Zoe Carver via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 24 15:20:47 PDT 2021
zoecarver marked 12 inline comments as done.
zoecarver added inline comments.
================
Comment at: libcxx/include/__ranges/concepts.h:108
+ template<bool _Const, class _Tp>
+ using __maybe_const = conditional_t<_Const, const _Tp, _Tp>;
} // namespace ranges
----------------
ldionne wrote:
> Is this used anywhere else other than in `transform_view`? If not, let's put it in `transform_view.h` only.
Yes, it's used in many views.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103056/new/
https://reviews.llvm.org/D103056
More information about the libcxx-commits
mailing list