io
C++ I/O scheduling library with asynchronous socket operations
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io::detail::cpo< Tag > Struct Template Reference

A generic function object that implements customization points. More...

#include <detail/customization.hpp>

Public Member Functions

template<typename... Args>
auto operator() (Args &&...args) const -> decltype(tag_invoke(Tag{}, std::forward< Args >(args)...))
 Invokes the customization point.
 

Detailed Description

template<typename Tag>
struct io::detail::cpo< Tag >

A generic function object that implements customization points.

Definition at line 30 of file customization.hpp.

Member Function Documentation

◆ operator()()

template<typename Tag >
template<typename... Args>
auto io::detail::cpo< Tag >::operator() ( Args &&...  args) const -> decltype(tag_invoke(Tag{}, std::forward<Args>(args)...))
inline

Invokes the customization point.

Template Parameters
ArgsThe types of the arguments to forward to the implementation.
Parameters
...argsThe arguments to forward to the implementation.
Returns
The value returned by the selected tag_invoke overload.

Definition at line 38 of file customization.hpp.


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