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

Use namespace std for int64_t and uint64_t #226

Merged
merged 1 commit into from
Mar 29, 2016
Merged

Use namespace std for int64_t and uint64_t #226

merged 1 commit into from
Mar 29, 2016

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