Skip to content

Error C2039: 'numeric_limits': is not a member of 'std' #137

Description

@Cheney-W

Hello, I'm a member of Microsoft VCPKG, when I built this port in an internal version of Visual Studio, it failed with following errors:

\include\concurrencpp/executors/constants.h(11): error C2039: 'numeric_limits': is not a member of 'std'
\include\concurrencpp/executors/constants.h(11): error C2039: 'max': is not a member of '`global namespace''

STL recently merged a pull request microsoft/STL#3721, this pr reduced inclusion dependency on <limits> of numeric, resulting in the above error.
To resolve this issue, simply add #include <limits> to include/concurrencpp/executors/constants.h in order to address it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions