diff --git a/include/dap/traits.h b/include/dap/traits.h index cbc7d39..6a0c20d 100644 --- a/include/dap/traits.h +++ b/include/dap/traits.h @@ -143,15 +143,15 @@ using CompatibleWith = std::integral_constant< template using EnableIf = typename std::enable_if::type; -// If `BASE` is a base of `T` then EnableIfIsType resolves to type `TRUE`, +// If `BASE` is a base of `T` then EnableIfIsType resolves to type `TRUE_TY`, // otherwise an invalid type. -template -using EnableIfIsType = EnableIf::value, TRUE>; +template +using EnableIfIsType = EnableIf::value, TRUE_TY>; // If the function-like `F` has a matching signature to the function-like `S` -// then EnableIfHasSignature resolves to type `TRUE`, otherwise an invalid type. -template -using EnableIfHasSignature = EnableIf::value, TRUE>; +// then EnableIfHasSignature resolves to type `TRUE_TY`, otherwise an invalid type. +template +using EnableIfHasSignature = EnableIf::value, TRUE_TY>; } // namespace traits } // namespace dap