C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
chapter7::extract_iterator_category< S > Struct Template Reference

A simple metafunction to get the iterator category from the first iterator in a sequence. More...

#include <chapter-7-zip_view.hpp>

Public Types

typedef boost::mpl::begin< S >::type::category type
 

Detailed Description

template<typename S>
struct chapter7::extract_iterator_category< S >

A simple metafunction to get the iterator category from the first iterator in a sequence.

The iterator category must not change throughout the entire sequence.

Template Parameters
SA sequence in the sequence of sequences.

Definition at line 42 of file chapter-7-zip_view.hpp.

Member Typedef Documentation

◆ type

template<typename S >
typedef boost::mpl::begin<S>::type::category chapter7::extract_iterator_category< S >::type

Definition at line 44 of file chapter-7-zip_view.hpp.


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