You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems when calling a function which takes an argument of type json with {j} where j is of type json then is called a copy constructor instead of basic_json(initializer_list_t init....
What is the issue you have?
Seems when calling a function which takes an argument of type json with
{j}
wherej
is of typejson
then is called a copy constructor instead ofbasic_json(initializer_list_t init...
.Please describe the steps to reproduce the issue.
Can you provide a small but working code example?
What is the expected behavior?
func({j});
should print "[10]".And what is the actual behavior instead?
func({j});
prints "10".Which compiler and operating system are you using?
Which version of the library did you use?
develop
branchIf you experience a compilation error: can you compile and run the unit tests?
The text was updated successfully, but these errors were encountered: