Fermat
Public Methods | Public Members | List of all members
cugar::Bitmask< 2 > Struct Template Reference

Detailed description

template<>
struct cugar::Bitmask< 2 >

A 2-word bitmask specialization

#include <bitmask.h>

Public Methods

CUGAR_HOST_DEVICE void set (const int32 i)
 
CUGAR_HOST_DEVICE void clear (const int32 i)
 
CUGAR_HOST_DEVICE bool get (const int32 i) const
 
CUGAR_HOST_DEVICE int32 get_word (const int32 i) const
 
CUGAR_HOST_DEVICE int32 get_bits (const int32 offset) const
 

Public Members

int32 bits0
 
int32 bits1
 

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