> On Dec 31, 2015, at 09:25, Dave Abrahams via swift-evolution > <[email protected]> wrote: > >> >> On Dec 25, 2015, at 4:43 PM, Nickolas Pohilets via swift-evolution >> <[email protected] <mailto:[email protected]>> wrote: >> >> If Swift would support non-type generic parameters, then I would like to >> have Boost.Unit library >> (http://www.boost.org/doc/libs/1_60_0/doc/html/boost_units.html >> <http://www.boost.org/doc/libs/1_60_0/doc/html/boost_units.html>) available >> in Swift. > > Yes, that’s an excellent design. We really want to do this when we get the > necessary language features (I hope we might also come up with some that > improve readability a bit over what you can do in C++).
I will do cartwheels when we can write stuff like Vector<3> or Tensor<4,4,4>. Glad to hear it’s on your mind, including the readability aspect. Matt
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
