OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::core::object::push_fn Struct Reference

Function object to push objects and their contents to the container. More...

#include <object.hpp>

Public Types

using coro_t = boost::coroutines2::coroutine<std::tuple<object_t, contents_t>>

Public Member Functions

auto operator() (connection_ptr const &conn) const -> coro_t::push_type

Detailed Description

Function object to push objects and their contents to the container.

This function object provides an operator() that takes a connection pointer and returns a coroutine push type that allows for pushing tuples of objects and their contents to the container. It is designed to be used in a coroutine-based context for efficient insertion of objects and their contents.

Member Function Documentation

◆ operator()()

auto oxy::core::object::push_fn::operator() ( connection_ptr const & conn) const -> coro_t::push_type
Parameters
conn- The connection pointer to the container.
Returns
A coroutine push type that allows for pushing tuples of objects and their contents to the container.