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

Detailed description

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

A functor to compute the binary AND with a mask

#include <functors.h>

Public Types

typedef T argument_type
 
typedef T result_type
 

Public Methods

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

Constructor & Destructor Documentation

◆ mask_and()

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

constructor

Parameters
maskmask value

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