Function DoFindFirst

Synopsis

#include <include/EASTL/bitset.h>

size_type DoFindFirst() const

Description

No description yet.

Source

Lines 1606-1621 in include/EASTL/bitset.h. Line 274 in include/EASTL/bitset.h.

template <typename WordType>
inline typename BitsetBase<2, WordType>::size_type 
BitsetBase<2, WordType>::DoFindFirst() const
{
    size_type fbiw = GetFirstBit(mWord[0]);
    if(fbiw != kBitsPerWord)
        return fbiw;
    fbiw = GetFirstBit(mWord[1]);
    if(fbiw != kBitsPerWord)
        return kBitsPerWord + fbiw;
    return 2 * kBitsPerWord;
}





Add Discussion as Guest

Log in