#include <_category_mapping.hpp>
Public Types | |
typedef std::iterator_traits < I >::iterator_category | sub_category |
sub_category is a category type of the standard library iterator | |
typedef implementation::category_mapping_aux < sub_category >::category | category |
category is a mapped category of the standard iterator |
The category_mapping receives an iterator and makes mapping. If gets an instigate::stl's iterator returns its tag, if gets standard tag makes mapping based on the following diagram. std::input_iterator_tag => instigate::stl::single_pass_iterator::tag std::output_iterator_tag => instigate::stl::incrementable_iterator::tag std::forward_iterator_tag => instigate::stl::forward_iterator::tag std::bidirectional_iterator_tag => instigate::stl:: bidirectional_iterator::tag std::random_access_iterator_tag => instigate::stl:: random_access_iterator::tag