_bstr_t Relational Operators
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at _bstr_t Relational Operators.
Microsoft Specific**
Compares two _bstr_t objects.
bool operator!( ) 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( );
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
Show: