Re: [Rcpp-devel] Rcpp constructor validator help

2016-11-07 Thread Dirk Eddelbuettel
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 “Seamle

Re: [Rcpp-devel] Rcpp constructor validator help

2016-11-07 Thread Anon User
Thank you Dirk. I am very new to rcpp devel so I apologize if my terminology is inaccurate. 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 ar

Re: [Rcpp-devel] Rcpp constructor validator help

2016-11-06 Thread Dirk Eddelbuettel
On 6 November 2016 at 11:36, Anon User wrote: | Hi, | | Could someone point me to documentation or provide an example on how to use constructor validator to handle the following case: Could you provide a definition or reference for 'constructor validator'? That is not a term we use here r

[Rcpp-devel] Rcpp constructor validator help

2016-11-06 Thread Anon User
Hi, Could someone point me to documentation or provide an example on how to use constructor validator to handle the following case: class Foo; struct Bar { Bar(const Foo&, int); Bar(int, int); … };