Chromium Code Reviews| Index: base/bit_cast.h |
| diff --git a/base/bit_cast.h b/base/bit_cast.h |
| index ad38238beb5c08902691dc3a9c8a67784714595c..1e79db1457bb34b50fe7310b8425ee4ef28a152f 100644 |
| --- a/base/bit_cast.h |
| +++ b/base/bit_cast.h |
| @@ -64,7 +64,7 @@ inline Dest bit_cast(const Source& source) { |
| static_assert(sizeof(Dest) == sizeof(Source), |
| "bit_cast requires source and destination to be the same size"); |
| -#if ((defined(__GLIBCXX__) && (__GLIBCXX__ >= 20150422)) || \ |
|
Mostyn Bramley-Moore
2016/04/05 22:13:48
This is the value from G++ 4.8, I believe.
|
| +#if ((defined(__GLIBCXX__) && (__GLIBCXX__ >= 20151010ul)) || \ |
|
Mostyn Bramley-Moore
2016/04/05 22:13:48
This is actually the value from G++ 5.2, just a pl
JF
2016/04/05 22:21:29
IIRC the docs are:
From: https://gcc.gnu.org/onli
Mostyn Bramley-Moore
2016/04/05 22:26:05
gcc/DATESTAMP in the GCC 4.8.5 tarball is 20150623
|
| defined(_LIBCPP_VERSION)) |
| // GCC 5.1 contains the first libstdc++ with is_trivially_copyable. |
| // Assume libc++ Just Works: is_trivially_copyable added on May 13th 2011. |