Skip to content

Conversation

SNiLD
Copy link

@SNiLD SNiLD commented Oct 30, 2020

Compiling in Windows with Visual Studio has a well known problem that they have MIN and MAX macros that conflict with other functions in the standard library like std::numeric_limits<T>::max and std::numeric_limits<T>::min. The standard portable solution is to wrap the function call in parentheses (std::numeric_limits<T>::max).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant