+3
-2
@@ -204,9 +204,10 @@ FMT_BEGIN_NAMESPACE
|
||||
template <bool B, class T = void>
|
||||
using enable_if_t = typename std::enable_if<B, T>::type;
|
||||
|
||||
// An enable_if helper to be used in template parameters which results in much
|
||||
// enable_if helpers to be used in template parameters which results in much
|
||||
// shorter symbols: https://godbolt.org/z/sWw4vP.
|
||||
#define FMT_ENABLE_IF(...) enable_if_t<__VA_ARGS__, int> = 0
|
||||
// Also include fix for VS2019 compilation issue (see #1140 and #1186).
|
||||
#define FMT_ENABLE_IF(...) enable_if_t<(__VA_ARGS__), int> = 0
|
||||
|
||||
namespace internal {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user