Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed to compile with Visual Studio 2017 Express #4184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant