std::list::get_allocator

From cppreference.com