mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-06-15 00:16:17 +08:00
Compare commits
2 Commits
67fca7b899
...
75de5e6d10
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75de5e6d10 | ||
|
|
caed2c2948 |
@ -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; };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user