VTK-m  2.2
Public Member Functions | Static Public Attributes | List of all members
vtkm::Tuple<> Class Reference

#include <Tuple.h>

Public Member Functions

template<typename Function , typename... Args>
auto Apply (Function &&f, Args &&... args) -> decltype(f(std::forward< Args >(args)...))
 
template<typename Function , typename... Args>
auto Apply (Function &&f, Args &&... args) const -> decltype(f(std::forward< Args >(args)...))
 
template<typename Function >
void ForEach (Function &&) const
 
template<typename Function >
vtkm::Tuple Transform (Function &&) const
 

Static Public Attributes

static constexpr vtkm::IdComponent Size = 0
 

Member Function Documentation

◆ Apply() [1/2]

template<typename Function , typename... Args>
auto vtkm::Tuple<>::Apply ( Function &&  f,
Args &&...  args 
) -> decltype(f(std::forward<Args>(args)...))
inline

◆ Apply() [2/2]

template<typename Function , typename... Args>
auto vtkm::Tuple<>::Apply ( Function &&  f,
Args &&...  args 
) const -> decltype(f(std::forward<Args>(args)...))
inline

◆ ForEach()

template<typename Function >
void vtkm::Tuple<>::ForEach ( Function &&  ) const
inline

◆ Transform()

template<typename Function >
vtkm::Tuple vtkm::Tuple<>::Transform ( Function &&  ) const
inline

Member Data Documentation

◆ Size

constexpr vtkm::IdComponent vtkm::Tuple<>::Size = 0
staticconstexpr

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