Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/iterator/doc/IncrementableIterator.rst @ 13

Last change on this file since 13 was 12, checked in by landauf, 18 years ago

added boost

  • Property svn:executable set to *
File size: 1.9 KB

Incrementable Iterator Concept

A class or built-in type X models the Incrementable Iterator concept if, in addition to X being Assignable and Copy Constructible, the following expressions are valid and respect the stated semantics.

Incrementable Iterator Requirements (in addition to Assignable, Copy Constructible)
Expression Return Type Assertion/Semantics
++r X& &r == &++r
r++ X
{
   X tmp = r;
   ++r;
   return tmp;
}
iterator_traversal<X>::type Convertible to incrementable_traversal_tag  
Note: See TracBrowser for help on using the repository browser.