Skip to content

Compile-Error C2100 (MS VS2015) in line 887 json.hpp #719

Description

@rockettomatooo

Hey there,

I'm happy to have found this awesome repo for parsing json but unfortunately json.hpp doesn't compile in my current project.
My Project-Setup is a plain win32-commandline-project with the json.hpp from the master-branch pasted in.

As the Heading says, the Error is in line 887:

//error: 1>c:\vsprojects\path\to\project\source\json.hpp(887): error C2100: Invalid Dereferencing

// code arround line 887:

// taken from ranges-v3
template<typename T>
struct static_const
{
    static constexpr T value{}; //line 887
};

Any suggestions for that error?
Thanks in advance

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions