[#operator_eq-01f] = operator== :mrdocs: Compares two allocators for equality; they are always equal since the allocator is stateless. == Synopsis Declared in `<support/allocators/zeroafterfree.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename U> bool operator==( xref:zero_after_free_allocator-01.adoc[zero_after_free_allocator] const& a, xref:zero_after_free_allocator-01.adoc[zero_after_free_allocator<U>] const& b) noexcept; ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:zero_after_free_allocator-01.adoc[zero_after_free_allocator], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Return Value Always true. == Parameters [cols="1,4"] |=== | Name| Description | *a* | First allocator to compare (unused). | *b* | Second allocator to compare (unused). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#