Function operator--

Summary

#include <include/EASTL/bitvector.h>

(1) bitvector_const_iterator & operator--()

(2) bitvector_const_iterator operator--(int)

Function overload

Synopsis

#include <include/EASTL/bitvector.h>

bitvector_const_iterator & operator--()

Description

No description yet.

Source

Lines 424-436 in include/EASTL/bitvector.h. Line 118 in include/EASTL/bitvector.h.

template <typename Element>
bitvector_const_iterator<Element>&
bitvector_const_iterator<Element>::operator--()
{
    if(mReference.mnBitIndex == 0)
    {
        --mReference.mpBitWord;
        mReference.mnBitIndex = kBitCount;
    }
    --mReference.mnBitIndex;
    return *this;
}

Synopsis

#include <include/EASTL/bitvector.h>

bitvector_const_iterator operator--(int)

Description

No description yet.

Source

Lines 449-456 in include/EASTL/bitvector.h. Line 119 in include/EASTL/bitvector.h.

template <typename Element>
bitvector_const_iterator<Element>
bitvector_const_iterator<Element>::operator--(int)
{
    bitvector_const_iterator copy(*this);
    --*this;
    return copy;
}





Add Discussion as Guest

Log in