[Rcpp-devel] templated NA

Andrew Redd amredd at gmail.com
Thu Jun 23 20:48:51 CEST 2011

Is there a templated version of NA with Rcpp, or perhaps some sugar
statement, such that the following might be valid statements?

typedef double mytime;
const mytime time_unknown = Rcpp::NA<mytime>;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110623/d7625fb0/attachment.htm>

More information about the Rcpp-devel mailing list