Compare commits

...

2 Commits

Author SHA1 Message Date
Rob Loach
75de5e6d10
Merge caed2c2948d1042bc2f0d71c78411b8da1557860 into f635b51e3f8e95868210edfc66fdbd8e475710f5 2026-06-14 01:17:27 -04:00
Rob Loach
caed2c2948
Use __cpp_lib_type_identity 2026-06-14 01:17:02 -04:00

View File

@ -16,7 +16,7 @@
* std::type_identity was introduced in >= C++20 so we put
* together a small shim for it if it doesn't exist.
*/
#if __cplusplus < 202002L
#if !defined(__cpp_lib_type_identity)
namespace std {
template<typename T>
struct type_identity { using type = T; };