mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
Export replacement type_traits, too
This commit is contained in:
parent
553022dc56
commit
2c25df089f
@ -270,6 +270,7 @@ FMT_GCC_PRAGMA("GCC optimize(\"Og\")")
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
FMT_BEGIN_NAMESPACE
|
FMT_BEGIN_NAMESPACE
|
||||||
|
FMT_MODULE_EXPORT_BEGIN
|
||||||
|
|
||||||
// Implementations of enable_if_t and other metafunctions for older systems.
|
// Implementations of enable_if_t and other metafunctions for older systems.
|
||||||
template <bool B, class T = void>
|
template <bool B, class T = void>
|
||||||
@ -288,6 +289,8 @@ template <typename T> using type_identity_t = typename type_identity<T>::type;
|
|||||||
|
|
||||||
struct monostate {};
|
struct monostate {};
|
||||||
|
|
||||||
|
FMT_MODULE_EXPORT_END
|
||||||
|
|
||||||
// An enable_if helper to be used in template parameters which results in much
|
// An enable_if helper to be used in template parameters which results in much
|
||||||
// shorter symbols: https://godbolt.org/z/sWw4vP. Extra parentheses are needed
|
// shorter symbols: https://godbolt.org/z/sWw4vP. Extra parentheses are needed
|
||||||
// to workaround a bug in MSVC 2019 (see #1140 and #1186).
|
// to workaround a bug in MSVC 2019 (see #1140 and #1186).
|
||||||
|
Loading…
Reference in New Issue
Block a user