tuples: make the fake variadics more simple by sharing more code with the real variadics

This commit is contained in:
Mathew Sutcliffe
2014-03-31 22:17:17 +01:00
parent dec49dba7f
commit f8d991ec04
2 changed files with 124 additions and 283 deletions

View File

@@ -137,7 +137,6 @@ namespace BlackMisc
}
//! @}
#ifdef Q_COMPILER_VARIADIC_TEMPLATES
// Applying operations to all elements in a tuple, using recursion
//! \private
@@ -203,7 +202,6 @@ namespace BlackMisc
static void deserializeJson(const QJsonObject &, const QStringList &, Tu &) {}
};
#endif // Q_COMPILER_VARIADIC_TEMPLATES
} // namespace Private