Function any

Synopsis

#include <include/EASTL/bitset.h>

bool any() const

Description

No description yet.

Source

Lines 1497-1502 in include/EASTL/bitset.h. Line 261 in include/EASTL/bitset.h.

template <typename WordType>
inline bool BitsetBase<2, WordType>::any() const
{
    // Or with two branches: { return (mWord[0] != 0) || (mWord[1] != 0); }
    return (mWord[0] | mWord[1]) != 0; 
}





Add Discussion as Guest

Log in