[libcxx-commits] [PATCH] D139189: [libc++] Granularize <type_traits> includes in <concepts>
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Dec 5 09:59:57 PST 2022
jloser added inline comments.
================
Comment at: libcxx/test/libcxx/ranges/range.utility.helpers/different_from.compile.pass.cpp:18
+#include <__concepts/different_from.h>
+TEST_DIAGNOSTIC_POP
+
----------------
Mordante wrote:
> What is the benefit of using a private header here?
I assume it's because there is no `std::different_from`, it's just a useful private concept that we have unit tests for. I'm not sure this is the most appropriate home for these tests nested in `ranges/range.utility.helpers` as it's more generic than that (isomorphic to `std::same_as`).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139189/new/
https://reviews.llvm.org/D139189
More information about the libcxx-commits
mailing list