I have some code which returns float::PositiveInfinity to indicate that an event will never happen but for some reason the compiler (MS Visual Studio 2013) gives me the following warning:
warning C4756: overflow in constant arithmetic
The code in question looks like this:
property float MinsRemainingUntilNextEvent
{
virtual float get()
{
return float::PositiveInfinity;
}
}
What does that mean and should I care? MS's documentation didn't explain it for me...