Yes. I think only fairly recent versions of clang pick up on this though.
On Thu, Nov 15, 2012 at 4:34 AM, Dirk Eddelbuettel <e...@debian.org> wrote: > > 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 | e...@debian.org | http://dirk.eddelbuettel.com >
_______________________________________________ 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