Casting Values
Grumpy Gamer
OCTOBER 24, 2018
After tracing through my compiler’s C++ code for about an hour trying to catch the spot, I came to this function: int intConstValue() { return _type == kFloat ? I guess I’m good until 2038… just in time for Unix time roll over. _float : _int; } It took me a bit of starring and then it hit.
Let's personalize your content