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