[Rcpp-devel] Compilation error in Rcpp

Romain Francois romain at r-enthusiasts.com
Thu Nov 15 08:16:05 CET 2012


Le 15/11/12 06:57, Karl Millar a écrit :
> In the Rcpp 0.10.0,
> inst/include/Rcpp/sugar/logical/SingleLogicalResult.h there is the code:
>
> template <bool x>
> class conversion_to_bool_is_forbidden :
> conversion_to_bool_is_forbidden<x>{
>
> Which obviously can't be instantiated.
>
> Presumably the code should be:
>
> template <bool x>
> class conversion_to_bool_is_forbidden :
> forbidden_conversion<x>{
>
> Thanks,
>
> Karl

Yes. Thanks. commited in rev 3971.

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30

R Graph Gallery: http://gallery.r-enthusiasts.com
`- http://bit.ly/SweN1Z : SuperStorm Sandy

blog:            http://romainfrancois.blog.free.fr
|- http://bit.ly/RE6sYH : OOP with Rcpp modules
`- http://bit.ly/Thw7IK : Rcpp modules more flexible



More information about the Rcpp-devel mailing list