diff options
author | Chris Robinson <[email protected]> | 2023-01-08 21:33:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-01-08 21:33:20 -0800 |
commit | 79ee6a880bd7627225a91137a4beb36c59d08e7c (patch) | |
tree | 872f67ff23360a4a737fc2516854438b15581d7b | |
parent | 716f5373cbe7e2c761ab1bb7b5a432ce178ed407 (diff) |
Simplify void_t
-rw-r--r-- | common/alspan.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/alspan.h b/common/alspan.h index 472a47d6..428363fe 100644 --- a/common/alspan.h +++ b/common/alspan.h @@ -51,9 +51,7 @@ class span; namespace detail_ { template<typename... Ts> - struct make_void { using type = void; }; - template<typename... Ts> - using void_t = typename make_void<Ts...>::type; + using void_t = void; template<typename T> struct is_span_ : std::false_type { }; |