[libcxx-commits] [libcxx] [libc++][NFC] Remove some unused code from <map> (PR #142408)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 2 07:49:33 PDT 2025
https://github.com/philnik777 created https://github.com/llvm/llvm-project/pull/142408
None
>From 38bca52e359ba970812a1565c26680ae3206602e Mon Sep 17 00:00:00 2001
From: Nikolas Klauser <nikolasklauser at berlin.de>
Date: Mon, 2 Jun 2025 16:48:01 +0200
Subject: [PATCH] [libc++][NFC] Remove some unused code from <map>
---
libcxx/include/map | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/libcxx/include/map b/libcxx/include/map
index 24eadbd154220..8c5799fbe6f10 100644
--- a/libcxx/include/map
+++ b/libcxx/include/map
@@ -750,21 +750,9 @@ public:
}
};
-template <class _TreeIterator>
-class __map_const_iterator;
-
template <class _Key, class _Tp>
struct __value_type;
-template <class _Tp>
-struct __extract_key_value_types;
-
-template <class _Key, class _Tp>
-struct __extract_key_value_types<__value_type<_Key, _Tp> > {
- typedef _Key const __key_type;
- typedef _Tp __mapped_type;
-};
-
template <class _TreeIterator>
class __map_iterator {
typedef typename _TreeIterator::_NodeTypes _NodeTypes;
More information about the libcxx-commits
mailing list