Function BitsetBase

Summary

#include <include/EASTL/bitset.h>

(1) BitsetBase()

(2) BitsetBase(uint32_t value)

Function overload

Synopsis

#include <include/EASTL/bitset.h>

BitsetBase()

Description

BitsetBase<1, WordType>

Source

Lines 1097-1101 in include/EASTL/bitset.h. Line 176 in include/EASTL/bitset.h.

template <typename WordType>
inline BitsetBase<1, WordType>::BitsetBase()
{
    mWord[0] = 0;
}

Synopsis

#include <include/EASTL/bitset.h>

BitsetBase(uint32_t value)

Description

No description yet.

Source

Lines 1104-1111 in include/EASTL/bitset.h. Line 177 in include/EASTL/bitset.h.

template <typename WordType>
inline BitsetBase<1, WordType>::BitsetBase(uint32_t value)
{
    // This implementation assumes that sizeof(value) <= sizeof(word_type).
    //EASTL_CT_ASSERT(sizeof(value) <= sizeof(word_type)); Disabled because we now have support for uint8_t and uint16_t word types. It would be nice to have a runtime assert that tested this.
    mWord[0] = static_cast<word_type>(value);
}





Add Discussion as Guest

Log in