xdrpp
RFC4506 XDR compiler and message library
Public Member Functions | Public Attributes | List of all members
xdr::rpc_sock_reply_t Struct Reference

Functor wrapper around rpc_sock::send_reply. More...

#include <msgsock.h>

Collaboration diagram for xdr::rpc_sock_reply_t:
Collaboration graph
[legend]

Public Member Functions

constexpr rpc_sock_reply_t (rpc_sock *ms)
 
void operator() (msg_ptr b) const
 

Public Attributes

rpc_sockms_
 

Detailed Description

Functor wrapper around rpc_sock::send_reply.

Mostly useful because std::function implementations avoid memory allocation with operator(), whereas passing any other method to std::bind may require more overhead.

Definition at line 133 of file msgsock.h.


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