[swift-evolution] Support for newtype feature/typesafe calculations
Grzegorz Adam Hankiewicz
swift at gradha.imap.cc
Thu Jan 7 06:50:24 CST 2016
> El 7/1/2016, a las 8:06, Félix Cloutier <felixcca at yahoo.ca> escribió:
>
> I’d like to hijack this thread to talk about what the TI Voyage 200 could do as far as "type-safe calculations" go.
I don’t think you are hijacking it, I share your vision, but it seems drowned among all the protocol-wielding users.
> I’m not a very powerful template wizard, but I have no idea how you'd do it with C++ either.
See http://stackoverflow.com/questions/23726038/how-can-i-create-a-new-primitive-type-using-c11-style-strong-typedefs for that.
More information about the swift-evolution
mailing list