Function DoFindLast

Synopsis

#include <include/EASTL/bitset.h>

size_type DoFindLast() const

Description

No description yet.

Source

Lines 1663-1678 in include/EASTL/bitset.h. Line 277 in include/EASTL/bitset.h.

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





Add Discussion as Guest

Log in