[Rcpp-devel] When does using iterators for subscripting help?

Hadley Wickham hadley at rice.edu
Wed Jan 4 15:53:59 CET 2012


> NumericVector:::iterator is actually alias to double*. Here is a trick
> (probably does not work on not gcc compilers):

Ah, interesting - thanks!

Hadley


-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/


More information about the Rcpp-devel mailing list