mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-06 18:56:19 +08:00
Change all decay to remove_cvref.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user