source:
downloads/boost_1_33_1/libs/iterator/doc/SwappableIterator.rst
@
  13
        
        | Last change on this file since 13 was 12, checked in by landauf, 18 years ago | |
|---|---|
            
  | 
        |
| File size: 972 bytes | |
Swappable Iterator Concept
A class or built-in type X models the Swappable Iterator concept if, in addition to X being Copy Constructible, the following expressions are valid and respect the stated semantics.
| Swappable Iterator Requirements (in addition to Copy Constructible) | ||
|---|---|---|
| Expression | Return Type | Postcondition | 
| iter_swap(a, b) | void | the pointed to values are exchanged | 
- [Note: An iterator that is a model of the Readable and Writable Iterator concepts
 - is also a model of Swappable Iterator. --end note]
 
Note: See TracBrowser
        for help on using the repository browser.
    


            






