
21 Jan
2009
21 Jan
'09
6:39 a.m.
Hello, I'm looking to define AddConst to be used as below: template<typename BaseIter> class my_iter : public iterator_adaptor< my_iter<AddConst<BaseIter>::type>, AddConst<BaseIter>::type>{ //... }; I guess add_const<range_iterator<X>::type> is not the same as range_iterator<add_const<X>::type>::type, otherwise I could just take AddConst = add_const.