News for hackers. Stuff that matters.
Re:Let the Type System do the Work by kirab on Tuesday April 22, 2014 @04:19AM (#7626406)
In C++14 this got easier.

Declaration:

  struct Kilogram {float v;};
Instantiation:

  Kilogram x = {1};
or

  Kilogram x{1};

There are no comments on this comment yet.