Skip to content

assignment problem #532

Closed
Closed
@LADSoft

Description

@LADSoft

I used to do something like this:

Json::Value root;
root["description"] = "this is some text";

That doesn't currently work because of a missing assignment operator. The closest thing to an assignment operator you have is:

Value &Value::operator=(Value other);

but the compiler I'm using wants

Value &Value::operator=(const Value &other);

I'm using VS2005 if that makes a difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions