https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110952
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Kamil Kaznowski from comment #0) > This proper way of handling allocator pointer is already implemented in > std::forward_list. This is not true: _Fwd_list_node_base* _M_node; The proper way of handling allocator pointer types is to use those types.