Function validate_iterator

Synopsis

#include <include/EASTL/array.h>

int validate_iterator(const_iterator i) const

Description

No description yet.

Source

Lines 412-425 in include/EASTL/array.h. Line 127 in include/EASTL/array.h.

template <typename T, size_t N>
inline int array<T, N>::validate_iterator(const_iterator i) const
{
    if(i >= mValue)
    {
        if(i < (mValue + N))
            return (isf_valid | isf_current | isf_can_dereference);
        if(i <= (mValue + N))
            return (isf_valid | isf_current);
    }
    return isf_none;
}





Add Discussion as Guest

Log in