mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
parent
ee63f5f04e
commit
2520f410c8
@ -88,7 +88,7 @@
|
|||||||
// GCC doesn't allow throw in constexpr until version 6 (bug 67371).
|
// GCC doesn't allow throw in constexpr until version 6 (bug 67371).
|
||||||
#ifndef FMT_USE_CONSTEXPR
|
#ifndef FMT_USE_CONSTEXPR
|
||||||
# define FMT_USE_CONSTEXPR \
|
# define FMT_USE_CONSTEXPR \
|
||||||
(FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1910 || \
|
(FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1912 || \
|
||||||
(FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L)) && \
|
(FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L)) && \
|
||||||
!FMT_NVCC && !FMT_ICC_VERSION
|
!FMT_NVCC && !FMT_ICC_VERSION
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user