Skip to content

Compilation error with JSON_DIAGNOSTICS enabled #3717

Description

@Evil-Spirit

Description

When JSON_DIAGNOSTICS defined, the following compilation error appears:

execeptions.hpp:119 accumulate is not member of std

Reproduction steps

#define JSON_DIAGNOSTICS
#include "nlohmann/json.hpp"

Expected vs. actual results

No compilation error should be

Minimal code example

No response

Error messages

No response

Compiler and operating system

Windows MSVC

Library version

latest

Validation

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

    kind: bugsolution: proposed fixa fix for the issue has been proposed and waits for confirmation

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions