| description | Learn more about: _bstr_t relational operators | ||||||
|---|---|---|---|---|---|---|---|
| title | _bstr_t relational operators | ||||||
| ms.date | 02/02/2021 | ||||||
| f1_keywords |
|
||||||
| helpviewer_keywords |
|
Microsoft Specific
Compares two _bstr_t objects.
bool operator==(const _bstr_t& str) const throw( );
bool operator!=(const _bstr_t& str) const throw( );
bool operator<(const _bstr_t& str) const throw( );
bool operator>(const _bstr_t& str) const throw( );
bool operator<=(const _bstr_t& str) const throw( );
bool operator>=(const _bstr_t& str) const throw( );These operators compare two _bstr_t objects lexicographically. The operators return true if the comparisons hold, otherwise return false.
END Microsoft Specific