Fermat
Public Types | Public Methods | Public Members | List of all members
cugar::shift_right< word_type > Struct Template Reference

Detailed description

template<typename word_type>
struct cugar::shift_right< word_type >

A right shift functor

#include <functors.h>

Public Types

typedef word_type argument_type
 
typedef word_type result_type
 

Public Methods

CUGAR_FORCEINLINE CUGAR_HOST_DEVICE shift_right (const uint32 _shift)
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE result_type operator() (const argument_type i) const
 

Public Members

const uint32 shift
 

Constructor & Destructor Documentation

◆ shift_right()

template<typename word_type >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE cugar::shift_right< word_type >::shift_right ( const uint32  _shift)
inline

constructor

Member Function Documentation

◆ operator()()

template<typename word_type >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE result_type cugar::shift_right< word_type >::operator() ( const argument_type  i) const
inline

functor operator


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