pars 0.2.1.99
Loading...
Searching...
No Matches
pars_example::event::fib_computed Struct Reference

#include <event.h>

Public Member Functions

auto format_to (std::format_context &ctx) const -> decltype(ctx.out())
 

Public Attributes

std::size_t work_id = 0
 
uint64_t fib_n = 0
 

Detailed Description

Definition at line 57 of file event.h.

Member Function Documentation

◆ format_to()

auto pars_example::event::fib_computed::format_to ( std::format_context & ctx) const -> decltype(ctx.out())
inline

Definition at line 62 of file event.h.

63 {
64 return std::format_to(ctx.out(), "fib_computed({},{})", work_id, fib_n);
65 }
clev::own< nng_ctx > ctx
Definition ctx.h:39

References fib_n, and work_id.

Member Data Documentation

◆ fib_n

uint64_t pars_example::event::fib_computed::fib_n = 0

Definition at line 60 of file event.h.

Referenced by format_to().

◆ work_id

std::size_t pars_example::event::fib_computed::work_id = 0

Definition at line 59 of file event.h.

Referenced by format_to().


The documentation for this struct was generated from the following file: