KEMBAR78
Use namespace std for int64_t and uint64_t by lv-zheng · Pull Request #226 · nlohmann/json · GitHub
Skip to content

Conversation

lv-zheng
Copy link
Contributor

According to the c++11 standard, the declarations are within namespace
scope of the namespace std. Add std:: to avoid unnecessary
assumptions of implementations.

References:
http://stackoverflow.com/questions/13129945/use-types-in-cstdint-with-ot-without-namespace
http://en.cppreference.com/w/cpp/header/cstdint
https://msdn.microsoft.com/en-us/library/hh874765.aspx

According to the c++11 standard, the declarations are within namespace
scope of the namespace `std'. Add `std::' to avoid unnecessary
requirement of implementations.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.888% when pulling 3e76e61 on lv-zheng:fix_int64 into 2f63e5f on nlohmann:master.

@nlohmann nlohmann merged commit 54d3cab into nlohmann:master Mar 29, 2016
@nlohmann
Copy link
Owner

Thanks a lot!

nlohmann added a commit that referenced this pull request Mar 30, 2016
@nlohmann nlohmann added this to the Release 2.0.0 milestone Mar 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants