https://mooseframework.inl.gov
Public Member Functions | Public Attributes | List of all members
Moose::Kokkos::Pair< T1, T2 > Struct Template Reference

#include <KokkosMap.h>

Public Member Functions

template<typename T3 , typename T4 >
auto & operator= (const std::pair< T3, T4 > pair)
 

Public Attributes

T1 first
 
T2 second
 

Detailed Description

template<typename T1, typename T2>
struct Moose::Kokkos::Pair< T1, T2 >

Definition at line 49 of file KokkosMap.h.

Member Function Documentation

◆ operator=()

template<typename T1, typename T2>
template<typename T3 , typename T4 >
auto& Moose::Kokkos::Pair< T1, T2 >::operator= ( const std::pair< T3, T4 >  pair)
inline

Definition at line 314 of file KokkosTypes.h.

315  {
316  first = pair.first;
317  second = pair.second;
318 
319  return *this;
320  }

Member Data Documentation

◆ first

template<typename T1, typename T2>
T1 Moose::Kokkos::Pair< T1, T2 >::first

◆ second

template<typename T1, typename T2>
T2 Moose::Kokkos::Pair< T1, T2 >::second

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