Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
< std::is_same< typename
mpl::deref< Iter1 >::type, T >
, Iter1, find< Seq, T,
typename mpl::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 33 of file Sacado_mpl_find.hpp.

Member Typedef Documentation

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<typename mpl::deref<Iter1>::type, T>, Iter1, find<Seq, T, typename mpl::next<Iter1>::type, Iter2> >::type Sacado::mpl::find< Seq, T, Iter1, Iter2 >::type

Definition at line 38 of file Sacado_mpl_find.hpp.

Member Data Documentation

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 39 of file Sacado_mpl_find.hpp.


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