ATL Operators

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

This section contains the reference topics for the ATL global operators.

OperatorDescription
operator ==Compares two CSid objects or SID structures for equality.
operator !=Compares two CSid objects or SID structures for inequality.
operator <Tests if the CSid object or SID structure on the left side of the operator is less than the CSid object or SID structure on the right side (for STL compatibility).
operator >Tests if the CSid object or SID structure on the left side of the operator is greater than the CSid object or SID structure on the right side (for STL compatibility).
operator <=Tests if the CSid object or SID structure on the left side of the operator is less than or equal to the CSid object or SID structure on the right side (for STL compatibility).
operator >=Tests if the CSid object or SID structure on the left side of the operator is greater than or equal to the CSid object or SID structure on the right side (for STL compatibility).

These operators are all defined in the file atlsecurity.h.

Compares CSid objects or SID (security identifier) structures for equality.

bool operator==(const CSid& lhs, const CSid& rhs) throw(); 

Parameters

lhs
The first CSid object or SID structure to compare.

rhs
The second CSid object or SID structure to compare.

Return Value

Returns true if the objects are equal, false if they are not equal.

Compares CSid objects or SID (security identifier) structures for inequality.

bool operator==(const CSid& lhs, const CSid& rhs) throw(); 

Parameters

lhs
The first CSid object or SID structure to compare.

rhs
The second CSid object or SID structure to compare.

Return Value

Returns true if the objects are not equal, false if they are equal.

Tests if the CSid object or SID structure on the left side of the operator is less than the CSid object or SID structure on the right side (for STL compatibility).

bool operator<(const CSid& lhs, const CSid& rhs) throw(); 

Parameters

lhs
The first CSid object or SID structure to compare.

rhs
The second CSid object or SID structure to compare.

Return Value

Returns true if the address of the lhs object is less than the address of the rhs object, false otherwise.

Remarks

This operator acts on the address of the CSid object or SID structure, and is implemented to provide compatibility with STL collection classes.

Tests if the CSid object or SID structure on the left side of the operator is greater than the CSid object or SID structure on the right side (for STL compatibility).

bool operator<(const CSid& lhs, const CSid& rhs) throw(); 

Parameters

lhs
The first CSid object or SID structure to compare.

rhs
The second CSid object or SID structure to compare.

Return Value

Returns true if the address of the lhs is greater than the address of the rhs, false otherwise.

Remarks

This operator acts on the address of the CSid object or SID structure, and is implemented to provide compatibility with STL collection classes.

Tests if the CSid object or SID structure on the left side of the operator is less than or equal to the CSid object or SID structure on the right side (for STL compatibility).

bool operator<(const CSid& lhs, const CSid& rhs) throw(); 

Parameters

lhs
The first CSid object or SID structure to compare.

rhs
The second CSid object or SID structure to compare.

Return Value

Returns true if the address of the lhs is less than or equal to the address of the rhs, false otherwise.

Remarks

This operator acts on the address of the CSid object or SID structure, and is implemented to provide compatibility with STL collection classes.

Tests if the CSid object or SID structure on the left side of the operator is greater than or equal to the CSid object or SID structure on the right side (for STL compatibility).

bool operator<(const CSid& lhs, const CSid& rhs) throw(); 

Parameters

lhs
The first CSid object or SID structure to compare.

rhs
The second CSid object or SID structure to compare.

Return Value

Returns true if the address of the lhs is greater than or equal to the address of the rhs, false otherwise.

Remarks

This operator acts on the address of the CSid object or SID structure, and is implemented to provide compatibility with STL collection classes.

Show: