[libcxx-commits] [libcxx] [libc++][NFC] Remove some unused code from <map> (PR #142408)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jun 6 06:27:42 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Nikolas Klauser (philnik777)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/142408.diff
1 Files Affected:
- (modified) libcxx/include/map (-12)
``````````diff
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;
``````````
</details>
https://github.com/llvm/llvm-project/pull/142408
More information about the libcxx-commits
mailing list