Skip to content

Compilation error with JSON_DIAGNOSTICS enabled #3717

Closed
@Evil-Spirit

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

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