Fermat
Public Types | Public Methods | List of all members
cugar::mask_or< T > Struct Template Reference

Detailed description

template<typename T>
struct cugar::mask_or< T >

A functor to compute the binary OR with a mask

#include <functors.h>

Public Types

typedef T argument_type
 
typedef T result_type
 

Public Methods

CUGAR_HOST_DEVICE mask_or (const T mask)
 
CUGAR_HOST_DEVICE T operator() (const T op) const
 

Constructor & Destructor Documentation

◆ mask_or()

template<typename T >
CUGAR_HOST_DEVICE cugar::mask_or< T >::mask_or ( const T  mask)
inline

constructor

Parameters
maskmask value

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