packio
|
#include <type_traits>
#include <utility>
#include <msgpack.hpp>
#include "error_code.h"
#include "internal/config.h"
#include "internal/utils.h"
#include "traits.h"
Go to the source code of this file.
Namespaces | |
packio | |
Functions | |
template<typename Result , typename AsCallHandler > | |
auto | packio::as (AsCallHandler &&handler, std::enable_if_t<!std::is_void_v< Result >, void * >=nullptr) |
Function used to wrap a typed call handler. More... | |
template<typename Result , typename AsVoidCallHandler > | |
auto | packio::as (AsVoidCallHandler &&handler, std::enable_if_t< std::is_void_v< Result >, void * >=nullptr) |
Function used to wrap a call handler that expects a void result. More... | |
Function as