libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ operator<() [3/12]

template<typename _CharT, typename _Traits, typename _Alloc, template< typename, typename, typename > class _Base>
bool __gnu_cxx::operator< ( const __versa_string< _CharT, _Traits, _Alloc, _Base > & __lhs,
const _CharT * __rhs )
inline

Test if string precedes C string.

Parameters
__lhsString.
__rhsC string.
Returns
True if __lhs precedes __rhs. False otherwise.

Definition at line 2441 of file vstring.h.

2444 { return __lhs.compare(__rhs) < 0; }
int compare(const __versa_string &__str) const
Compare to a string.
Definition vstring.h:2079

References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().

Here is the call graph for this function: