Under C++ concepts: Allocator
would like some clarity on the following:
A::template rebind::other (optional1)
Notes: 1 rebind is only optional (provided by
std::allocator_traits
) if this allocator is a template of the formSomeAllocator<T, Args>
, whereArgs
is zero or more additional template parameters.
Why would rebind
be optional in the above case?