pars 0.2.1
Loading...
Searching...
No Matches
pars::f::pntl< tool_t > Struct Template Reference

#include <helpers.h>

Collaboration diagram for pars::f::pntl< tool_t >:

Public Member Functions

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

Public Attributes

net::pipe p
 
tool_t & t
 

Detailed Description

template<net::tool_c tool_t>
struct pars::f::pntl< tool_t >

Definition at line 42 of file helpers.h.

Member Function Documentation

◆ format_to()

template<net::tool_c tool_t>
auto pars::f::pntl< tool_t >::format_to ( std::format_context & ctx) const -> decltype(ctx.out())
inline

Definition at line 47 of file helpers.h.

48 {
49 return std::format_to(ctx.out(), "Pipe {} {}", p, t);
50 }
tool_t & t
Definition helpers.h:45
net::pipe p
Definition helpers.h:44

References p, and t.

Member Data Documentation

◆ p

template<net::tool_c tool_t>
net::pipe pars::f::pntl< tool_t >::p

Definition at line 44 of file helpers.h.

Referenced by format_to().

◆ t

template<net::tool_c tool_t>
tool_t& pars::f::pntl< tool_t >::t

Definition at line 45 of file helpers.h.

Referenced by format_to().


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