|
Cppgres
Build Postgres extensions in C++
|
Aggregate state that can be combined with another instance (parallel aggregation) More...
#include <aggregate.hpp>
Aggregate state that can be combined with another instance (parallel aggregation)
The combining constructor T(const T &, const T &) receives both operands as const references. Both operands remain owned by the aggregate memory context and their destructors still run when it is reset, so the constructor must not take ownership of (or alias) resources held by either operand: deep-copy them or share them through reference-counted handles.