Function test

Synopsis

#include <include/EASTL/bitvector.h>

bool test(size_type n, bool defaultValue) const

Description

No description yet.

Source

Lines 1013-1020 in include/EASTL/bitvector.h. Line 288 in include/EASTL/bitvector.h.

template <typename Allocator, typename Element, typename Container>
bool bitvector<Allocator, Element, Container>::test(size_type n, bool defaultValue) const
{
    if(n < size())
        return *(begin() + (difference_type)n);
    return defaultValue;
}





Add Discussion as Guest

Log in