Panda3D
Public Types | Public Member Functions | List of all members
first_of_pair_iterator< pair_iterator > Class Template Reference

This is an iterator adaptor that converts any iterator that returns a pair (e.g. More...

#include "iterator_types.h"

Inheritance diagram for first_of_pair_iterator< pair_iterator >:

Public Types

typedef pair_iterator::value_type::first_type value_type
 

Public Member Functions

 first_of_pair_iterator (const pair_iterator &init)
 
value_type operator * ()
 

Detailed Description

template<class pair_iterator>
class first_of_pair_iterator< pair_iterator >

This is an iterator adaptor that converts any iterator that returns a pair (e.g.

a map iterator) into one that returns just the first component of that pair.

Definition at line 25 of file iterator_types.h.


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