operator== (<allocators>)
测试在指定的选件类的分配器对象之间的相等。
template <class Type, class Sync>
bool operator==(
const allocator_base<Type, Sync>& _Left,
const allocator_base<Type, Sync>& _Right
);
参数
Parameter |
说明 |
---|---|
_Left |
用于相等要测试的一分配器对象。 |
_Right |
用于相等要测试的一分配器对象。 |
返回值
true,如果分配器对象相同; false,如果分配器对象不相等。
备注
此模板运算符返回 _Left.equals(_Right)。
要求
标头: <allocators>
命名空间: stdext