[libcxx-commits] [libcxx] [llvm] [libcxx] improves diagnostics for containers with bad value types (PR #106296)
Christopher Di Bella via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 6 17:32:30 PDT 2024
================
@@ -1024,6 +1029,15 @@ template <class _Key,
class _Pred = equal_to<_Key>,
class _Alloc = allocator<pair<const _Key, _Tp> > >
class _LIBCPP_TEMPLATE_VIS unordered_map {
+ // TODO(#106635): replace with _LIBCPP_CHECK_CONTAINER_VALUE_TYPE_REQUIREMENTS
+ // Remember to remove relevant headers when this is completed.
----------------
cjdb wrote:
Okay, I get what's happening, thanks to cplusplus/draft#7249. I've parked #106635, and have replaced the TODOs with `// not an error`.
https://github.com/llvm/llvm-project/pull/106296
More information about the libcxx-commits
mailing list