21 constexpr operator T ();
36 else if constexpr (
requires { T {
any,
any,
any,
any }; })
38 else if constexpr (
requires { T {
any,
any,
any }; })
40 else if constexpr (
requires { T {
any,
any }; })
42 else if constexpr (
requires { T {
any }; })
45 static_assert (std::is_same_v<T, struct Dummy>,
"Don't know how to handle this type");
172 return QVariant::fromValue (this->
Items_.at (row));
174 if (
role != Qt::DisplayRole)
static constexpr auto DataRole
QVariant GetData(int row, int col, int role) const override
QVariant GetFieldImpl(const T &item, int idx, FC< 1 >)
constexpr int GetFieldsCount()
QVariant GetField(const T &item, int idx)
Container< T > Filter(const Container< T > &c, F f)