-A type \tcode{A} meets the proto-allocator requirements if \tcode{A} is \tcode{CopyConstructible} (\CppXref{copyconstructible}), \tcode{Destructible} (\CppXref{destructible}), and \tcode{allocator_traits<A>::rebind_alloc<U>} meets the allocator requirements (\CppXref{allocator.requirements}), where \tcode{U} is an object type. \begin{note} For example, \tcode{std::allocator<void>} meets the proto-allocator requirements but not the allocator requirements. \end{note} No constructor, comparison operator, copy operation, move operation, or swap operation on these types shall exit via an exception.
0 commit comments