Is there a templated version of NA with Rcpp, or perhaps some sugar statement, such that the following might be valid statements?<div><br></div><div>typedef double mytime;</div><div>const mytime time_unknown = Rcpp::NA<mytime>;</div>
<div><br></div><div>Thanks,</div><div>Andrew</div>