Function find_last
Synopsis
#include <include/EASTL/bitset.h>
size_type find_last() const
Description
Finds the index of the last "on" bit, returns kSize if none are set.
Source
Lines 2172-2183 in include/EASTL/bitset.h. Line 425 in include/EASTL/bitset.h.
template <size_t N, typename WordType>
inline typename bitset<N, WordType>::size_type
bitset<N, WordType>::find_last() const
{
const size_type i = base_type::DoFindLast();
if(i < kSize)
return i;
// Else i could be the base type bit count, so we clamp it to our size.
return kSize;
}