aimstil  5.0.5
stditerator.h
Go to the documentation of this file.
1 #ifndef _STDITERATOR_H_
2 #define _STDITERATOR_H_
3 
4 #include "til/templateTools.h"
5 
6 
7 template < typename T, typename T2 = T >
8 struct stditerator
9  : public til::type_if<boost::is_const<T>::value, typename T2::const_iterator, typename T2::iterator>
10 {};
11 
12 
13 #endif //_STDITERATOR_H_
Template to choose between one type or the other depending on some condition.
Definition: templateTools.h:61
Collects template tools used for library implementation.