Viskores  1.0
Classes | Namespaces | Functions
Pair.h File Reference
#include <viskores/internal/Configure.h>
#include <viskores/internal/ExportMacros.h>
#include <iostream>
#include <utility>

Go to the source code of this file.

Classes

struct  viskores::Pair< T1, T2 >
 A viskores::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

 viskores
 Groups connected points that have the same field value.
 

Functions

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