Re: [Rcpp-devel] Creating a std::vector of objects with const members

2011-10-07 Thread Douglas Bates
On Thu, Oct 6, 2011 at 6:23 PM, Darren Cook wrote: >> It is not a big deal in this case but I am wondering how to define the >> population protocol using something like std::vector so that >> elementary protocols can be added or removed but each elementary >> protocol is read-only. >> ... like dec

Re: [Rcpp-devel] Creating a std::vector of objects with const members

2011-10-06 Thread Darren Cook
> It is not a big deal in this case but I am wondering how to define the > population protocol using something like std::vector so that > elementary protocols can be added or removed but each elementary > protocol is read-only. > ... like declaring the vector as std::vector but > that doesn't seem