
19 Jul
2008
19 Jul
'08
6:55 p.m.
________________________________________ De: boost-bounces@lists.boost.org [boost-bounces@lists.boost.org] En nombre de Steven Watanabe [watanabesj@gmail.com] Enviado el: sábado, 19 de julio de 2008 19:13 Para: boost@lists.boost.org Asunto: Re: [boost] [utility] [C++0x] indices/make_indices
AMDG
In pseudocode using iterators:
deref(advance(begin(tuple)), n)
where advance is implemented as
iterator advance(iterator x, int n) { if(n == 0) { return(x); } else { return(advance(x, n - 1));
Shouldn't this last line be return(advance(++x, n - 1)); thus ruining the memoization? Joaquín M López Muñoz Telefónica, Investigación y Desarrollo