xdrpp
RFC4506 XDR compiler and message library
|
Functor wrapper around rpc_sock::send_reply
.
More...
#include <msgsock.h>
Public Member Functions | |
constexpr | rpc_sock_reply_t (rpc_sock *ms) |
void | operator() (msg_ptr b) const |
Public Attributes | |
rpc_sock * | ms_ |
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.