VTK-m  2.0
Public Member Functions | List of all members
vtkm::Minimum Struct Reference

Binary Predicate that takes two arguments argument x, and y and returns the x if x < y otherwise returns y. More...

#include <BinaryOperators.h>

Public Member Functions

template<typename T , typename U >
VTKM_EXEC_CONT std::common_type< T, U >::type operator() (const T &x, const U &y) const
 

Detailed Description

Binary Predicate that takes two arguments argument x, and y and returns the x if x < y otherwise returns y.

Note
Requires a suitable definition of bool operator<(T, U) and that T and U share a common type.

Member Function Documentation

◆ operator()()

template<typename T , typename U >
VTKM_EXEC_CONT std::common_type<T, U>::type vtkm::Minimum::operator() ( const T &  x,
const U &  y 
) const
inline

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