23 Jul
2017
23 Jul
'17
4:09 a.m.
On 21 July 2017 at 10:47, Viktor Sehr via Boost
I'd like to make a suggestion for adding an optional class for number types, called optional_number, where the max value of the number type is utilized as the uninitalized value.
What problem are you trying to solve?
- Can be assigned to any value except the max value
<snip> - Throws if assigned the numeric_limits<T>::max
Seems to me the poison is worse than the disease. degski -- "*Ihre sogenannte Religion wirkt bloß wie ein Opiat reizend, betäubend, Schmerzen aus Schwäche stillend.*" - Novalis 1798