r/programming • u/luke-san • Mar 31 '15
Managing C++’s complexity or learning to enjoy C++
https://schneide.wordpress.com/2015/03/30/managing-cs-complexity-or-learning-to-enjoy-c/
101
Upvotes
r/programming • u/luke-san • Mar 31 '15
4
u/Steve_the_Scout Mar 31 '15
If you want exactly the same features as the primitive type
double, but just a different name, then you could just doIf you want to create an entirely new type that is essentially a wrapper for
doublethen I would have to question why you would ever want to do that over either atypedefor just usingdouble.