HomePhabricator

refactor: remove references to deprecated values under std::allocator

Description

refactor: remove references to deprecated values under std::allocator

Summary:
Includes allocator::pointer, allocator::const_pointer, allocator::reference and allocator::const_reference which are deprecated in c++17 and removed in c++20. See https://en.cppreference.com/w/cpp/memory/allocator

Also prefer using over typedef see: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rt-using

This is a backport of core#23181

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15313

Details

Provenance
Pasta <pasta@dashboost.org>Authored on Oct 5 2021, 02:49
PiRKCommitted on Jan 30 2024, 09:36
PiRKPushed on Jan 30 2024, 09:36
Reviewer
Restricted Project
Differential Revision
D15313: refactor: remove references to deprecated values under std::allocator
Parents
rABCbcfea3465515: init: Remove redundant -*mempool* queries
Branches
Unknown
Tags
Unknown