X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Flexicalcast.h;h=4f54a8515df8e2806cc118e0a4d982b88ff0a5c2;hp=6fe3cb366b24015ea215c127913db9f43ac42276;hb=641a71730a0135fe647f6a230e9704d8b677f2c5;hpb=b65e1d0856c1fb677558a941f3cd858849ee3b28 diff --git a/source/strings/lexicalcast.h b/source/strings/lexicalcast.h index 6fe3cb3..4f54a85 100644 --- a/source/strings/lexicalcast.h +++ b/source/strings/lexicalcast.h @@ -97,7 +97,7 @@ struct CheckFormattedOutput: Sfinae { static std::ostream &s; template - static Yes f(int (*)[sizeof(s<(s))]); using Sfinae::f; }; @@ -114,7 +114,7 @@ template struct HasFormattedInput: Sfinae::Evaluate -typename EnableIf::value, void>::Yes +typename std::enable_if::value>::type operator<<(LexicalConverter &c, const T &v) { std::ostringstream ss; @@ -123,7 +123,7 @@ operator<<(LexicalConverter &c, const T &v) } template -typename EnableIf::value, void>::Yes +typename std::enable_if::value>::type operator>>(const LexicalConverter &c, T &v) { std::istringstream ss(c.get());