mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update common.h
This commit is contained in:
parent
5e01164dac
commit
b99540854e
@ -248,7 +248,8 @@ inline constexpr bool is_integral_v = std::is_same_v<T, char>
|
||||
|| std::is_same_v<T, unsigned short>
|
||||
|| std::is_same_v<T, unsigned int>
|
||||
|| std::is_same_v<T, unsigned long>
|
||||
|| std::is_same_v<T, unsigned long long>;
|
||||
|| std::is_same_v<T, unsigned long long>
|
||||
|| std::is_same_v<T, signed char>; // for imgui
|
||||
|
||||
template<typename T>
|
||||
inline constexpr bool is_floating_point_v = std::is_same_v<T, float> || std::is_same_v<T, double>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user