Name

operator== function template — Compares allocators for equality

Synopsis

template <class T1, class T2>
bool operator==(const allocator<T1>&, const allocator<T2>&)
  throw(  );

The operator== function template always returns true. In other words, any object of type allocator is considered to be the same as every other allocator.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.