3 ms·
> what we do is parenthesize all mentions of min/max Oh! That explains some of the odd-looking code in <random>, since min and max are used as function names t
by TillE 12y ago
> what we do is parenthesize all mentions of min/max
Oh! That explains some of the odd-looking code in <random>, since min and max are used as function names to determine the range of an RNG engine.
- StephanTLavavej 12y agoBingo. We have a test that includes windows.h followed by all STL headers, to verify that we always remember the parens.