[Rcpp-devel] [Rcpp Modules] Static functions

2013-05-09 Thread Julien Duvanel
Hello, First of all, thanks for all the Rcpp*. It's very helpful. I have a small question, and I can't (unfortunately) find the answer over the internet. I'm trying to do this : class Foo { public: double static myFunction(); }; And then, use the RCPP_MODULE : RCPP_MODULE(mod_Foo) {

Re: [Rcpp-devel] [Rcpp Modules] Static functions

2013-05-09 Thread Romain Francois
This is not supported currently. It might be in the future when someone finds time or funding. One thing that could be done is to create a simple wrapper function around it and expose this with the module. You wont get the associarion with the class though. double wrapper_myFunction(){