Modify ListOf<T> as per @romainfrancois's suggestions
Merge branch 'master' of https://github.com/RcppCore/Rcpp