Page MenuHomePhabricator

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

Authored by PiRK on Jan 29 2024, 17:14.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable