mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-06-15 08:26:16 +08:00
Compare commits
1 Commits
75de5e6d10
...
67fca7b899
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67fca7b899 |
@ -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 !defined(__cpp_lib_type_identity)
|
||||
#if __cplusplus < 202002L
|
||||
namespace std {
|
||||
template<typename T>
|
||||
struct type_identity { using type = T; };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user