Add parenthesis to enable_if_t
This commit is contained in:
parent
03a3f7d57e
commit
3b9b5adeda
@ -202,7 +202,7 @@ FMT_BEGIN_NAMESPACE
|
|||||||
|
|
||||||
// An implementation of enable_if_t for pre-C++14 systems.
|
// An implementation of enable_if_t for pre-C++14 systems.
|
||||||
template <bool B, class T = void>
|
template <bool B, class T = void>
|
||||||
using enable_if_t = typename std::enable_if<B, T>::type;
|
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
|
// An enable_if helper to be used in template parameters which results in much
|
||||||
// shorter symbols: https://godbolt.org/z/sWw4vP.
|
// shorter symbols: https://godbolt.org/z/sWw4vP.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user