ReactOS  0.4.15-dev-4874-g57c84dd
_Eq_char_bound< _Traits > Struct Template Reference

#include <_ctraits_fns.h>

Inheritance diagram for _Eq_char_bound< _Traits >:
Collaboration diagram for _Eq_char_bound< _Traits >:

Public Member Functions

 _Eq_char_bound (typename _Traits::char_type __c)
bool operator() (const typename _Traits::char_type &__x) const

Public Attributes

_Traits::char_type __val

Additional Inherited Members

- Public Types inherited from unary_function< _Traits::char_type, bool >
typedef _Traits::char_type argument_type
typedef bool result_type
- Protected Member Functions inherited from unary_function< _Traits::char_type, bool >
 ~unary_function ()

Detailed Description

template<class _Traits>
struct _Eq_char_bound< _Traits >

Definition at line 43 of file _ctraits_fns.h.

Constructor & Destructor Documentation

◆ _Eq_char_bound()

template<class _Traits >
_Eq_char_bound< _Traits >::_Eq_char_bound ( typename _Traits::char_type  __c)

Definition at line 46 of file _ctraits_fns.h.

46 : __val(__c) {}
_Traits::char_type __val
Definition: _ctraits_fns.h:45
#define __c
Definition: schilyio.h:209

Member Function Documentation

◆ operator()()

template<class _Traits >
bool _Eq_char_bound< _Traits >::operator() ( const typename _Traits::char_type &  __x) const

Definition at line 47 of file _ctraits_fns.h.

48  { return _Traits::eq(__x, __val); }
_Traits::char_type __val
Definition: _ctraits_fns.h:45
#define eq(received, expected, label, type)
Definition: locale.c:144

Member Data Documentation

◆ __val

template<class _Traits >
_Traits::char_type _Eq_char_bound< _Traits >::__val

Definition at line 45 of file _ctraits_fns.h.

Referenced by _Eq_char_bound< _Traits >::operator()().

The documentation for this struct was generated from the following file: