Hi,
I am looking for some advice or hoping someone can point me in the right
direction for wrapping a C++ class with singleton using Rcpp. I have been
using RCPP modules for some of this work but got stuck with a C++ object
which returns a singleton.
Here is the general structure of the object
class Foo {
public:
Foo();
~Foo();
static Foo &getFoo();
Foo(Foo const&) = delete;
void operator=(Foo const&) = delete;
}
Regards,
Nikhil
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel