We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
inline Log4zStream & Log4zStream::writeDouble(double t, bool isSimple) {
#if __cplusplus >= 201103L using std::isnan; using std::isinf; #endif if (isnan(t)) { writeString("nan", 3); return *this; } else if (isinf(t)) { writeString("inf", 3); return *this; }
你好,上述这段代码在vs2008下编译不通过,我觉得是不是应该把#endif放在最后。
The text was updated successfully, but these errors were encountered:
看来有人跟我遇到同样的问题了!
Sorry, something went wrong.
No branches or pull requests
inline Log4zStream & Log4zStream::writeDouble(double t, bool isSimple)
{
#if __cplusplus >= 201103L
using std::isnan;
using std::isinf;
#endif
if (isnan(t))
{
writeString("nan", 3);
return *this;
}
else if (isinf(t))
{
writeString("inf", 3);
return *this;
}
你好,上述这段代码在vs2008下编译不通过,我觉得是不是应该把#endif放在最后。
The text was updated successfully, but these errors were encountered: