3 ms·
I started to write a C++ class to write strongly-type, range-bounded integers (e.g. Fahrenheit and Celcius classes). I gave up when implementing all the operato
by cpeterso 15y ago
I started to write a C++ class to write strongly-type, range-bounded integers (e.g. Fahrenheit and Celcius classes). I gave up when implementing all the operator overloads and my class was hundreds of LOC. C++ really did not to do what i wanted...