Logo MTL4

mtl::TraversableMutableCollection< Tag, C > Struct Template Reference
[Concepts]

Concept TraversableMutableCollection: collections that can be traversed by (mutable) iterator. More...

#include <collection.hpp>

Inherits MutableCollection< C >.

Collaboration diagram for mtl::TraversableMutableCollection< Tag, C >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef associated_type cursor_type
 Associated type: return type of tagged begin function.

Public Member Functions

cursor_type begin (const C &c)
 Tagged free function that returns a cursor or iterator at the begin of an interval.
cursor_type end (const C &c)
 Tagged free function that returns a cursor or iterator at the end of an interval.


Detailed Description

template<typename Tag, typename C>
struct mtl::TraversableMutableCollection< Tag, C >

Concept TraversableMutableCollection: collections that can be traversed by (mutable) iterator.

Member Function Documentation

template<typename Tag , typename C >
cursor_type mtl::TraversableMutableCollection< Tag, C >::begin ( const C &  c  ) 

Tagged free function that returns a cursor or iterator at the begin of an interval.

The interval is specified by the Tag, i.e. the function is called begin<Tag>(c);

template<typename Tag , typename C >
cursor_type mtl::TraversableMutableCollection< Tag, C >::end ( const C &  c  ) 

Tagged free function that returns a cursor or iterator at the end of an interval.

The interval is specified by the Tag, i.e. the function is called end<Tag>(c);


The documentation for this struct was generated from the following file:


mtl::TraversableMutableCollection< Tag, C > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Generated on 24 Aug 2009 by Doxygen 1.5.9 -- Copyright 2008-09 by TU Dresden and the Trustees of Indiana University.