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&lt;mytime&gt;;</div>
<div><br></div><div>Thanks,</div><div>Andrew</div>