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

Concept TraversableCollection: collections that can be traversed by cursor or iterator. More...

#include <collection.hpp>

Inheritance diagram for mtl::TraversableCollection< Tag, C >:
mtl::Collection< C >

List of all members.

Public Types

typedef associated_type cursor_type
 Associated type: return type of tagged begin and end 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::TraversableCollection< Tag, C >

Concept TraversableCollection: collections that can be traversed by cursor or iterator.


Member Function Documentation

template<typename Tag, typename C>
cursor_type mtl::TraversableCollection< 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::TraversableCollection< 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