Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ColumnProjection Concept Reference

An owning copyable callable that projects a borrowed immutable row. More...

#include <table_column.hpp>

Concept definition

template<class T, class Projection>
std::is_object_v<Projection> && std::copy_constructible<Projection> && std::invocable<Projection &, const T &>
An owning copyable callable that projects a borrowed immutable row.
Definition table_column.hpp:48

Detailed Description

An owning copyable callable that projects a borrowed immutable row.

Template Parameters
TDomain record type; projection receives const T & without copying the row.
ProjectionCopy-constructible object invocable as an lvalue with const T &. Reference results borrow their referent; callbacks must not retain row borrows.