BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::Bitset_ImpUtil Struct Reference

#include <bslstl_bitset.h>

Public Types

enum  { k_BYTES_PER_INT = sizeof(int) , k_BITS_PER_INT = CHAR_BIT * sizeof(int) , k_INTS_IN_LONG = sizeof(long) / sizeof(int) , k_INTS_IN_LLONG = sizeof(long long) / sizeof(int) }
 

Public Member Functions

 BSLMF_ASSERT (k_INTS_IN_LLONG==2)
 

Static Public Member Functions

static void defaultInit (unsigned int *data, std::size_t size, unsigned long long val=0)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
k_BYTES_PER_INT 
k_BITS_PER_INT 
k_INTS_IN_LONG 
k_INTS_IN_LLONG 

Member Function Documentation

◆ BSLMF_ASSERT()

bsl::Bitset_ImpUtil::BSLMF_ASSERT ( k_INTS_IN_LLONG  = =2)

◆ defaultInit()

static void bsl::Bitset_ImpUtil::defaultInit ( unsigned int *  data,
std::size_t  size,
unsigned long long  val = 0 
)
static

Initialize the memory at the address specified by data so that the the first M bit positions correspond to the bit values in the specified val where M is the smaller of size * k_BITS_PER_INT and CHAR_BIT * sizeof(unsigned long long). The remaining bits are initialized to zero 0.


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