http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57263
Bug ID: 57263
Summary: std::set with user-defined allocator - compile error
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: mustrumr97 at gmail dot com
A user-defined allocator's pointer may not be convertible to and from regular
pointers. There is
std::allocator_traits<Allocator>::pointer
std::allocator_traits<Allocator>::pointer_to(std::allocator_traits<Allocator>::value_type&);