14 #ifndef CALODETDESCR_CALOCONSTITERATORADAPTOR_H
15 #define CALODETDESCR_CALOCONSTITERATORADAPTOR_H
18 #include "boost/iterator/iterator_adaptor.hpp"
20 #include <type_traits>
25 template <
class ITERATOR>
28 typedef typename std::iterator_traits<ITERATOR>::value_type
orig_t;
40 template <
class ITERATOR>
42 :
public boost::iterator_adaptor<CaloConstIteratorAdaptor<ITERATOR>,
44 typename CaloClassIteratorValueType<ITERATOR>::type,
45 typename ITERATOR::iterator_category,
46 typename CaloClassIteratorValueType<ITERATOR>::type>
58 #endif // not CALODETDESCR_CALOCONSTITERATORADAPTOR_H