On 7 November 2016 at 09:27, Anon User wrote:
| By “Constructor Validator”, I was referring to the validator function pointer 
used to "implement dispatch to the appropriate constructor when multiple 
constructors taking the same number of arguments are exposed," as mentioned in 
your book “Seamless R and C++ integration with Rcpp” (page 92) 

Touchee :)

| The class constructors in question take either two ints, or an int plus an 
object of class Foo, which has been property converted via as<>() and wrap().

If you are in a C++ context, general C++ rules should apply as usual.

We get into some C language constrainst for code we expose back as
_everything_ has to (eventually) go through `SEXP .Call("somefunc", SEXP, ...)

Complete reproducible examples help.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to