Compares two secure allocators for equality; they are always equal since the allocator is stateless.

Synopsis

Declared in <support/allocators/secure.h>

template<typename U>
bool
operator==(
    secure_allocator const& a,
    secure_allocator<U> const& b) noexcept;
Note

This function is a hidden friend of secure_allocator, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

Always true.

Parameters

Name

Description

a

First allocator to compare (unused).

b

Second allocator to compare (unused).

Created with MrDocs