Adobe Systems, Inc.

ByteAdvancableIteratorConcept< IT > Struct Template Reference
[Step Iterator]

Concept of a random-access iterator that can be advanced in bytes. More...

#include <gil_concept.hpp>

List of all members.


Public Member Functions

void constraints ()

Detailed Description

template<typename IT>
struct ByteAdvancableIteratorConcept< IT >

template <typename IT>
concept ByteAdvanceableIteratorConcept : RandomAccessIteratorConcept<IT> {
    std::ptrdiff_t byte_step(const IT&);
    std::ptrdiff_t byte_distance(const IT& , const IT&);
    void           byte_advance(IT&, std::ptrdiff_t byteDiff);
    IT             byte_advanced(const IT& p, std::ptrdiff_t byteDiff) { IT tmp; byte_advance(tmp,pyteDiff); return tmp; }
    IT::reference  byte_advanced_ref(const IT& p, std::ptrdiff_t byteDiff) { return *byte_advanced(p,byteDiff); }
};

Definition at line 767 of file gil_concept.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google