mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-23 21:10:19 +00:00
some fix
This commit is contained in:
parent
f076ee431f
commit
38114d1555
@ -453,7 +453,7 @@ public:
|
||||
|
||||
|
||||
template<typename T>
|
||||
inline constexpr bool is_immutable_v = std::is_integral_v<T> || std::is_floating_point_v<T>
|
||||
inline constexpr bool is_immutable_v = is_integral_v<T> || is_floating_point_v<T>
|
||||
|| std::is_same_v<T, Str> || std::is_same_v<T, Tuple> || std::is_same_v<T, Bytes> || std::is_same_v<T, bool>
|
||||
|| std::is_same_v<T, Range> || std::is_same_v<T, Slice>
|
||||
|| std::is_pointer_v<T> || std::is_enum_v<T>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user