ReactOS 0.4.15-dev-7942-gd23573b
_Scan_for_char_val< _Traits > Struct Template Reference

Public Types

typedef _Traits::char_type char_type
 
typedef char_typefirst_argument_type
 
typedef char_typesecond_argument_type
 
typedef char_typeresult_type
 

Public Member Functions

 _Scan_for_char_val (char_type __val)
 
const char_typeoperator() (const char_type *__first, const char_type *__last) const
 

Public Attributes

char_type _M_val
 

Detailed Description

template<class _Traits>
struct _Scan_for_char_val< _Traits >

Definition at line 128 of file _istream.c.

Member Typedef Documentation

◆ char_type

template<class _Traits >
typedef _Traits::char_type _Scan_for_char_val< _Traits >::char_type

Definition at line 129 of file _istream.c.

◆ first_argument_type

template<class _Traits >
typedef char_type* _Scan_for_char_val< _Traits >::first_argument_type

Definition at line 130 of file _istream.c.

◆ result_type

template<class _Traits >
typedef char_type* _Scan_for_char_val< _Traits >::result_type

Definition at line 132 of file _istream.c.

◆ second_argument_type

template<class _Traits >
typedef char_type* _Scan_for_char_val< _Traits >::second_argument_type

Definition at line 131 of file _istream.c.

Constructor & Destructor Documentation

◆ _Scan_for_char_val()

template<class _Traits >
_Scan_for_char_val< _Traits >::_Scan_for_char_val ( char_type  __val)
inline

Definition at line 136 of file _istream.c.

136: _M_val(__val) {}
_STLP_INLINE_LOOP _InputIter const _Tp & __val
Definition: _algobase.h:656
char_type _M_val
Definition: _istream.c:134

Member Function Documentation

◆ operator()()

template<class _Traits >
const char_type * _Scan_for_char_val< _Traits >::operator() ( const char_type __first,
const char_type __last 
) const
inline

Definition at line 139 of file _istream.c.

139 {
140 return find_if(__first, __last, _Eq_char_bound<_Traits>(_M_val));
141 }
_STLP_INLINE_LOOP _InputIter __last
Definition: _algo.h:68
_STLP_MOVE_TO_STD_NAMESPACE _InputIter find_if(_InputIter __first, _InputIter __last, _Predicate __pred)
Definition: _algobase.c:214

Member Data Documentation

◆ _M_val

template<class _Traits >
char_type _Scan_for_char_val< _Traits >::_M_val

Definition at line 134 of file _istream.c.

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


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