Skip to content

conversion json to std::map doesn't work for types <int, double>  #1372

@TheWaveWarden

Description

@TheWaveWarden
//<int, double> doesn't work
std::map<int, double> map_input3 = {{1, 2.0}};
json json_map3(map_input3);
std::map<int, double> map_output3 = json_map3;

tested on Ubuntu18, compiler is g++, version 3.1.2

as previously discussed in
#600

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