Fix more compilation errors on gcc 4.6

This commit is contained in:
Victor Zverovich
2018-02-28 05:09:24 -08:00
parent 6090e51b65
commit 1b4525384b
4 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -67,8 +67,10 @@ class convert_to_int<T, Char, true> {
template <typename>
static std::false_type test(...);
typedef decltype(test<T>(0)) result;
public:
static const bool value = !decltype(test<T>(0))::value;
static const bool value = !result::value;
};
// Write the content of buf to os.