Template Struct ColumnPredicate¶
Defined in File reflection.hpp
Struct Documentation¶
-
template<typename T>
struct ColumnPredicate¶ Represents a type-safe row predicate bound to a specific column.
This struct is used to associate a named column with a predicate function that inspects values from the corresponding column. It enables statically typed, variadic filtering of table rows.
- Template Parameters:
T – The expected type of the column.
Public Members
-
std::string column_name¶
< The name of the column to apply the predicate on.
A predicate function over the column mdspan and row index.
-
std::function<bool(const mdspan_type<const T>&, size_t)> predicate¶