Function operator-

Summary

#include <include/EASTL/bitvector.h>

(1) bitvector_const_iterator operator-(difference_type dist) const

(2) difference_type operator-(const this_type &rhs) const

Function overload

Synopsis

#include <include/EASTL/bitvector.h>

bitvector_const_iterator operator-(difference_type dist) const

Description

No description yet.

Source

Lines 510-517 in include/EASTL/bitvector.h. Line 124 in include/EASTL/bitvector.h.

template <typename Element>
bitvector_const_iterator<Element>
bitvector_const_iterator<Element>::operator-(difference_type n) const
{
    bitvector_const_iterator copy(*this);
    copy -= n;
    return copy;
}

Synopsis

#include <include/EASTL/bitvector.h>

difference_type operator-(const this_type &rhs) const

Description

No description yet.

Source

Lines 520-525 in include/EASTL/bitvector.h. Line 126 in include/EASTL/bitvector.h.

template <typename Element>
typename bitvector_const_iterator<Element>::difference_type
bitvector_const_iterator<Element>::operator-(const this_type& rhs) const
{
    return ((mReference.mpBitWord - rhs.mReference.mpBitWord) * kBitCount) + mReference.mnBitIndex - rhs.mReference.mnBitIndex;
}





Add Discussion as Guest

Log in