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
@@ -13,7 +13,7 @@ namespace rfl {
template <class T>
struct Flatten {
/// The underlying type.
using Type = std::decay_t<T>;
using Type = std::remove_cvref_t<T>;
Flatten(const Type& _value) : value_(_value) {}