[Rcpp-devel] Compilation error in Rcpp

Dirk Eddelbuettel edd at debian.org
Thu Nov 15 13:34:44 CET 2012


On 14 November 2012 at 21:57, Karl Millar wrote:
| 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>{

Ding. And with that I realize that with all the testing, I didn't use clang. 

Did clang find that for you?

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list