Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C2440 in vs2015 cannot convert from 'initializer-list' to nlohmann::basic_json #1655

Closed
luomomo opened this issue Jun 26, 2019 · 4 comments
Closed
Labels
kind: question platform: visual studio related to MSVC state: needs more info the author of the issue needs to provide more details state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated

Comments

@luomomo
Copy link

luomomo commented Jun 26, 2019

errror C2440: cannot convert from 'initializer-list' to nlohmann::basic_json

  • it seems no no one have met this before

  • vs2015

  • verson 3.6.1
    Sorry ,I don't know how to solve this

@nickaein
Copy link
Contributor

Can you give a simple code example that demonstrates this issue?

@nlohmann
Copy link
Owner

In order to asses your issue, we need the following information:

  • What is the issue you have?

  • Please describe the steps to reproduce the issue. Can you provide a small but working code example?

  • What is the expected behavior?

  • And what is the actual behavior instead?

  • Which compiler and operating system are you using? Is it a supported compiler?

  • Did you use a released version of the library or the version from the develop branch?

  • If you experience a compilation error: can you compile and run the unit tests?

@nlohmann nlohmann added the state: needs more info the author of the issue needs to provide more details label Jun 29, 2019
@stale
Copy link

stale bot commented Jul 29, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated label Jul 29, 2019
@nlohmann
Copy link
Owner

nlohmann commented Aug 3, 2019

@luomomo Could you comment on this?

@nlohmann nlohmann closed this as completed Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: question platform: visual studio related to MSVC state: needs more info the author of the issue needs to provide more details state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated
Projects
None yet
Development

No branches or pull requests

3 participants