This commit is contained in:
blueloveTH 2024-03-03 15:52:40 +08:00
parent f076ee431f
commit 38114d1555

View File

@ -453,7 +453,7 @@ public:
template<typename T> 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, 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_same_v<T, Range> || std::is_same_v<T, Slice>
|| std::is_pointer_v<T> || std::is_enum_v<T>; || std::is_pointer_v<T> || std::is_enum_v<T>;