Change all decay to remove_cvref.

This commit is contained in:
hazby2002
2023-12-29 17:05:16 +08:00
parent 38783b8907
commit 2d45ddfdc8
62 changed files with 409 additions and 394 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ template <class Type>
class is_attribute<const Attribute<Type>*> : public std::true_type {};
template <class T>
constexpr bool is_attribute_v = is_attribute<std::decay_t<T>>::value;
constexpr bool is_attribute_v = is_attribute<std::remove_cvref_t<T>>::value;
} // namespace internal
} // namespace rfl