[Rcpp-devel] Compilation error in Rcpp

Karl Millar kmillar at google.com
Thu Nov 15 06:57:41 CET 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121114/d2b190d6/attachment.html>


More information about the Rcpp-devel mailing list