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

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

#include <collection.hpp>

Inheritance diagram for mtl::TraversableMutableCollection< Tag, C >:
mtl::MutableCollection< C > mtl::Collection< C >

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:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Generated by  doxygen 1.6.2-20100208