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
{{ message }}
Repository navigation
json::parse of std::string being underlined by Visual Studio #402
The compiler used by Intellisense is not the same as the compiler used to build the program. The Intellisense compiler doesn't always have all the information it needs to figure out whether something is valid or not, unfortunately. As long as the program compiles, you'd need to report this Intellisense failure to Microsoft.
Activity
gregmarr commentedon Dec 21, 2016
The compiler used by Intellisense is not the same as the compiler used to build the program. The Intellisense compiler doesn't always have all the information it needs to figure out whether something is valid or not, unfortunately. As long as the program compiles, you'd need to report this Intellisense failure to Microsoft.
Noitidart commentedon Dec 21, 2016
Ah interesting @gregmarr thanks for sharing that! I'll do some research and see if I can fix it. Will report back what I find. :)
nlohmann commentedon Dec 22, 2016
Thanks @Noitidart. I shall close this issue in the meantime as there is nothing we can do about it.
Noitidart commentedon Dec 22, 2016
Makes total sense thanks for telling me before closing. :)
Noitidart commentedon Jan 1, 2017
Hey all, I found a weird fix for this silly issue. If I do .c_str() it doesnt underline it. It makes no sense to me. Does this make sense to anyone?
nlohmann commentedon Jan 1, 2017
@Noitidart Thanks for checking back!