On Friday, March 29, 2013 02:19:49 Adam D. Ruppe wrote: > On Friday, 29 March 2013 at 01:18:03 UTC, Jonathan M Davis wrote: > > It's not terribly pretty, but you can always do this > > We could also do more C++ looking: > > unsigned_cast!foo or IFTI or whatever;
It would be pretty trivial to add a wrapper function to make it cleaner. I was just pointing out that we already provided a way to cast to an unsigned type of the same size without needing to add anything to the language. - Jonathan M Davis