Exemplo n.º 1
0
 random_access_iterator(
     random_access_iterator<OtherIterator, Category> const& other
   , typename boost::enable_if<
         boost::is_convertible<OtherIterator, Iterator>
       , enabler
     >::type = enabler()
 )
   : random_access_iterator::iterator_adaptor_(other.base()) {}
Exemplo n.º 2
0
constexpr Iter base(random_access_iterator<Iter> i) { return i.base(); }