// -*- C++ -*-
-// Copyright (C) 2005-2018 Free Software Foundation, Inc.
+// Copyright (C) 2005-2024 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
{
private:
typedef types_traits<Key, Mapped, _Alloc, false> type_traits;
+ typedef rebind_traits<_Alloc, Node> node_alloc_traits;
public:
typedef Node node;
typedef
bin_search_tree_const_it_<
- typename _Alloc::template rebind<
- node>::other::pointer,
+ typename node_alloc_traits::pointer,
typename type_traits::value_type,
typename type_traits::pointer,
typename type_traits::const_pointer,
typedef
bin_search_tree_it_<
- typename _Alloc::template rebind<
- node>::other::pointer,
+ typename node_alloc_traits::pointer,
typename type_traits::value_type,
typename type_traits::pointer,
typename type_traits::const_pointer,
typedef
bin_search_tree_const_it_<
- typename _Alloc::template rebind<
- node>::other::pointer,
+ typename node_alloc_traits::pointer,
typename type_traits::value_type,
typename type_traits::pointer,
typename type_traits::const_pointer,
typedef
bin_search_tree_it_<
- typename _Alloc::template rebind<
- node>::other::pointer,
+ typename node_alloc_traits::pointer,
typename type_traits::value_type,
typename type_traits::pointer,
typename type_traits::const_pointer,
{
private:
typedef types_traits<Key, null_type, _Alloc, false> type_traits;
+ typedef rebind_traits<_Alloc, Node> node_alloc_traits;
public:
typedef Node node;
typedef
bin_search_tree_const_it_<
- typename _Alloc::template rebind<
- node>::other::pointer,
+ typename node_alloc_traits::pointer,
typename type_traits::value_type,
typename type_traits::pointer,
typename type_traits::const_pointer,
typedef
bin_search_tree_const_it_<
- typename _Alloc::template rebind<
- node>::other::pointer,
+ typename node_alloc_traits::pointer,
typename type_traits::value_type,
typename type_traits::pointer,
typename type_traits::const_pointer,