Function DoFindNext

Synopsis

#include <include/EASTL/bitset.h>

size_type DoFindNext(size_type last_find) const

Description

No description yet.

Source

Lines 1313-1326 in include/EASTL/bitset.h. Line 208 in include/EASTL/bitset.h.

template <typename WordType>
inline typename BitsetBase<1, WordType>::size_type 
BitsetBase<1, WordType>::DoFindNext(size_type last_find) const
{
    if(++last_find < kBitsPerWord)
    {
        // Mask off previous bits of word so our search becomes a "find first".
        const word_type this_word = mWord[0] & ((~static_cast<word_type>(0)) << last_find);
        return GetFirstBit(this_word);
    }
    return kBitsPerWord;
}





Add Discussion as Guest

Log in