This depends on libstdc++ version, not GCC version

It's possible to make GCC use older/newer libstdc++ or to use Clang with libstdc++

This is still the wrong place for it - we should have all compiler/library workarounds in one place, not at point of use, to avoid duplication/conflicts
This commit is contained in:
Vas Crabb 2016-03-06 12:51:22 +11:00
parent 7c338e1e7d
commit 078e954270

View File

@ -185,7 +185,7 @@
#include <type_traits>
#include <utility>
#if defined(__GNUC__) && ((__GNUC__ == 5 && __GNUC_MINOR__ < 2) || (__GNUC__ == 4 && __GNUC_MINOR__ > 8))
#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413)
namespace std
{
template<class _Container>