Line
Link Here
|
0 |
-- a/src/lib/util/strformat.h |
0 |
++ b/src/lib/util/strformat.h |
Lines 185-193
Link Here
|
185 |
#include <type_traits> |
185 |
#include <type_traits> |
186 |
#include <utility> |
186 |
#include <utility> |
187 |
|
187 |
|
188 |
#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413) |
188 |
namespace std { |
189 |
namespace std |
189 |
namespace mame_cxx14_compat { |
190 |
{ |
|
|
191 |
template<class _Container> |
190 |
template<class _Container> |
192 |
inline constexpr auto |
191 |
inline constexpr auto |
193 |
cbegin(const _Container& __cont) noexcept(noexcept(std::begin(__cont)))-> decltype(std::begin(__cont)) |
192 |
cbegin(const _Container& __cont) noexcept(noexcept(std::begin(__cont)))-> decltype(std::begin(__cont)) |
Lines 198-204
Link Here
|
198 |
cend(const _Container& __cont) noexcept(noexcept(std::end(__cont)))-> decltype(std::end(__cont)) |
197 |
cend(const _Container& __cont) noexcept(noexcept(std::end(__cont)))-> decltype(std::end(__cont)) |
199 |
{ return std::end(__cont); } |
198 |
{ return std::end(__cont); } |
200 |
} |
199 |
} |
201 |
#endif |
200 |
using namespace mame_cxx14_compat; |
|
|
201 |
} |
202 |
|
202 |
|
203 |
namespace util { |
203 |
namespace util { |
204 |
namespace detail { |
204 |
namespace detail { |