Re: [Rcpp-devel] Armor, Shield and Shelter.

2013-10-11 Thread Kevin Ushey
Message- > From: rcpp-devel-boun...@r-forge.wu-wien.ac.at > [mailto:rcpp-devel-boun...@r-forge.wu-wien.ac.at] On Behalf Of Romain Francois > Sent: Friday, October 11, 2013 7:42 AM > To: Dirk Eddelbuettel > Cc: rcpp-de...@r-forge.wu-wien.ac.at > Subject: Re: [Rcpp-dev

Re: [Rcpp-devel] Armor, Shield and Shelter.

2013-10-11 Thread Smith, Dale (Norcross)
pp-de...@r-forge.wu-wien.ac.at Subject: Re: [Rcpp-devel] Armor, Shield and Shelter. Le 11/10/13 13:26, Dirk Eddelbuettel a écrit : > > Romain, > > On 11 October 2013 at 13:03, Romain Francois wrote: > | Anyway, I'd like to propose adding Shield, Armor and Shleter to Rcpp. &

Re: [Rcpp-devel] Armor, Shield and Shelter.

2013-10-11 Thread Romain Francois
Le 11/10/13 13:26, Dirk Eddelbuettel a écrit : Romain, On 11 October 2013 at 13:03, Romain Francois wrote: | Anyway, I'd like to propose adding Shield, Armor and Shleter to Rcpp. Sure. | This is a non disruptive proposal as the template classes I propose | don't interract with the rest of the

Re: [Rcpp-devel] Armor, Shield and Shelter.

2013-10-11 Thread Dirk Eddelbuettel
Romain, On 11 October 2013 at 13:03, Romain Francois wrote: | Anyway, I'd like to propose adding Shield, Armor and Shleter to Rcpp. Sure. | This is a non disruptive proposal as the template classes I propose | don't interract with the rest of the code. We might not use them in | Rcpp, but we

[Rcpp-devel] Armor, Shield and Shelter.

2013-10-11 Thread Romain Francois
Hello, As usual when I work on some packge that use Rcpp, I come up with ideas. On dplyrRcpp I've defined these classes to handle stack based protection of objects from the GC. These are thin wrappers around PROTECT / UNPROTECT / PROTECT_WITH_INDEX Sometimes, the Rcpp api classes don't quite