Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
database::concepts::VoidTask Concept Reference

A callable that returns void, suitable for fire-and-forget execution. More...

#include <concepts.h>

Concept definition

template<typename F, typename... Args>
std::move_constructible<std::decay_t<F>>
A callable type that returns void when invoked.
Definition concepts.h:84
A callable that returns void, suitable for fire-and-forget execution.
Definition concepts.h:343

Detailed Description

A callable that returns void, suitable for fire-and-forget execution.

Example usage:

template<VoidTask F>
void execute(F&& func) {
func();
}

Definition at line 343 of file concepts.h.