VTK-m  2.0
Classes | Namespaces | Functions
Pair.h File Reference
#include <vtkm/internal/Configure.h>
#include <vtkm/internal/ExportMacros.h>
#include <iostream>
#include <utility>

Go to the source code of this file.

Classes

struct  vtkm::Pair< T1, T2 >
 A vtkm::Pair is essentially the same as an STL pair object except that the methods (constructors and operators) are defined to work in both the control and execution environments (whereas std::pair is likely to work only in the control environment). More...
 

Namespaces

 vtkm
 Groups connected points that have the same field value.
 

Functions

template<typename T , typename U >
VTKM_EXEC_CONT vtkm::Pair< T, U > vtkm::operator+ (const vtkm::Pair< T, U > &a, const vtkm::Pair< T, U > &b)
 Pairwise Add. More...
 
template<typename T1 , typename T2 >
VTKM_EXEC_CONT vtkm::Pair< typename std::decay< T1 >::type, typename std::decay< T2 >::type > vtkm::make_Pair (T1 &&v1, T2 &&v2)