Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Sacado::mpl::find< Seq, T, Iter1, Iter2 > Struct Template Reference

#include <Sacado_mpl_find.hpp>

Inheritance diagram for Sacado::mpl::find< Seq, T, Iter1, Iter2 >:

Public Types

typedef mpl::mpl_if< std::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 53 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<std::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 58 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 59 of file Sacado_mpl_find.hpp.


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