ReactOS  0.4.13-dev-259-g5ca9c9c
_collate.h File Reference
#include <stl/c_locale.h>
#include <stl/_locale.h>
#include <stl/_string.h>
Include dependency graph for _collate.h:

Go to the source code of this file.

Classes

class  collate< _CharT >
 
class  collate_byname< _CharT >
 
class  collate< char >
 
class  collate< wchar_t >
 
class  collate_byname< char >
 
class  collate_byname< wchar_t >
 

Functions

template<class _CharT , class _Traits , class _Alloc >
bool __locale_do_operator_call (const locale &__loc, const basic_string< _CharT, _Traits, _Alloc > &__x, const basic_string< _CharT, _Traits, _Alloc > &__y)
 

Function Documentation

◆ __locale_do_operator_call()

template<class _CharT , class _Traits , class _Alloc >
bool __locale_do_operator_call ( const locale __loc,
const basic_string< _CharT, _Traits, _Alloc > &  __x,
const basic_string< _CharT, _Traits, _Alloc > &  __y 
)

Definition at line 162 of file _collate.h.

164  {
165  collate<_CharT> const& __coll = use_facet<collate<_CharT> >(__loc);
166  return __coll.compare(__x.data(), __x.data() + __x.size(),
167  __y.data(), __y.data() + __y.size()) < 0;
168 }
const _CharT * data() const
Definition: _string.h:950
size_type size() const
Definition: _string.h:400

Referenced by locale::operator()().