Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
Sacado::mpl::find< Seq, T, Iter1, Iter2 > Struct Template Reference

#include <Sacado_mpl_find.hpp>

Public Types

typedef mpl::mpl_if< mpl::is_same< typenamempl::deref< Iter1 >::type, T >, Iter1, find< Seq, T, typenamempl::next< Iter1 >::type, Iter2 > >::type type
 

Static Public Attributes

static const int value = type::value
 

Detailed Description

template<class Seq, class T, class Iter1 = typename mpl::begin<Seq>::type, class Iter2 = typename mpl::end<Seq>::type>
struct Sacado::mpl::find< Seq, T, Iter1, Iter2 >

Definition at line 52 of file Sacado_mpl_find.hpp.

Member Typedef Documentation

◆ type

template<class Seq , class T , class Iter1 = typename mpl::begin<Seq>::type, class Iter2 = typename mpl::end<Seq>::type>
typedef mpl::mpl_if<mpl::is_same<typenamempl::deref<Iter1>::type,T>,Iter1,find<Seq,T,typenamempl::next<Iter1>::type,Iter2>>::type Sacado::mpl::find< Seq, T, Iter1, Iter2 >::type

Definition at line 57 of file Sacado_mpl_find.hpp.

Member Data Documentation

◆ value

template<class Seq , class T , class Iter1 = typename mpl::begin<Seq>::type, class Iter2 = typename mpl::end<Seq>::type>
const int Sacado::mpl::find< Seq, T, Iter1, Iter2 >::value = type::value
static

Definition at line 58 of file Sacado_mpl_find.hpp.


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