PR merged https://github.com/OlafvdSpek/ctemplate/pull/143.patch gcc-16/C++20, bug 967254, fix: remove hint, removed typedef --- a/src/base/arena-inl.h +++ b/src/base/arena-inl.h @@ -93,8 +93,7 @@ template class ArenaAllocator { ArenaAllocator(C* arena) : arena_(arena) { } // NOLINT ~ArenaAllocator() { } - pointer allocate(size_type n, - std::allocator::const_pointer /*hint*/ = 0) { + pointer allocate(size_type n) { assert(arena_ && "No arena to allocate from!"); return reinterpret_cast(arena_->AllocAligned(n * sizeof(T), kAlignment));