ReactOS  0.4.15-dev-3303-g1ade494
_BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate > Struct Template Reference

#include <_tools.h>

Public Types

typedef _CastTraits< _StorageT, _ValueT > cast_traits
 

Public Member Functions

 _BinaryPredWrapper ()
 
 _BinaryPredWrapper (_BinaryPredicate const &__pred)
 
_BinaryPredicate get_pred () const
 
bool operator() (_StorageT const &__fst, _StorageT const &__snd) const
 
 operator _BinaryPredicate () const
 

Private Attributes

_BinaryPredicate _M_pred
 

Detailed Description

template<class _StorageT, class _ValueT, class _BinaryPredicate>
struct _BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate >

Definition at line 35 of file _tools.h.

Member Typedef Documentation

◆ cast_traits

template<class _StorageT , class _ValueT , class _BinaryPredicate >
typedef _CastTraits<_StorageT, _ValueT> _BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate >::cast_traits

Definition at line 448 of file _tools.h.

Constructor & Destructor Documentation

◆ _BinaryPredWrapper() [1/2]

template<class _StorageT , class _ValueT , class _BinaryPredicate >
_BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate >::_BinaryPredWrapper ( )
inline

Definition at line 450 of file _tools.h.

450 {}

◆ _BinaryPredWrapper() [2/2]

template<class _StorageT , class _ValueT , class _BinaryPredicate >
_BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate >::_BinaryPredWrapper ( _BinaryPredicate const __pred)
inline

Definition at line 451 of file _tools.h.

451 : _M_pred(__pred) {}
_STLP_INLINE_LOOP _InputIter _Predicate __pred
Definition: _algo.h:68
_BinaryPredicate _M_pred
Definition: _tools.h:464

Member Function Documentation

◆ get_pred()

template<class _StorageT , class _ValueT , class _BinaryPredicate >
_BinaryPredicate _BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate >::get_pred ( ) const
inline

Definition at line 453 of file _tools.h.

453 { return _M_pred; }
_BinaryPredicate _M_pred
Definition: _tools.h:464

◆ operator _BinaryPredicate()

template<class _StorageT , class _ValueT , class _BinaryPredicate >
_BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate >::operator _BinaryPredicate ( ) const
inline

Definition at line 460 of file _tools.h.

461  { return _M_pred; }
_BinaryPredicate _M_pred
Definition: _tools.h:464

◆ operator()()

template<class _StorageT , class _ValueT , class _BinaryPredicate >
bool _BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate >::operator() ( _StorageT const __fst,
_StorageT const __snd 
) const
inline

Definition at line 455 of file _tools.h.

static value_type const & to_value_type_cref(storage_type const &__ref)
Definition: _tools.h:414
_BinaryPredicate _M_pred
Definition: _tools.h:464

Member Data Documentation

◆ _M_pred

template<class _StorageT , class _ValueT , class _BinaryPredicate >
_BinaryPredicate _BinaryPredWrapper< _StorageT, _ValueT, _BinaryPredicate >::_M_pred
private

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