1 // Origin: PR c++/43704
4 template<typename T2, typename T3>
11 struct iterator_restrict_traits
13 struct iterator_category {};
19 struct ci {struct ic {};};
23 template<class M, class TRI>
24 struct triangular_adaptor
26 typedef typename if_<typename M::ci,typename M::i>::type ty1;
27 class iterator2 : iterator_restrict_traits<typename ty1::ic>::iterator_category
35 typedef typename if_<typename M::ci,typename M::i>::type ty1;
36 class iterator1 : iterator_restrict_traits<typename ty1::ic>::iterator_category
42 struct singular_decomposition
44 banded_adaptor<matrix<double> >::iterator1 it1;