Provides inspector access for types that represent optional values.
More...
#include <inspector_access.hpp>
|
using | traits = optional_inspector_traits<T> |
|
using | container_type = typename traits::container_type |
|
using | value_type = typename traits::value_type |
|
|
template<class Inspector > |
static bool | apply (Inspector &f, container_type &x) |
|
template<class Inspector > |
static bool | save_field (Inspector &f, std::string_view field_name, container_type &x) |
|
template<class Inspector , class IsPresent , class Get > |
static bool | save_field (Inspector &f, std::string_view field_name, IsPresent &is_present, Get &get) |
|
template<class Inspector , class IsValid , class SyncValue > |
static bool | load_field (Inspector &f, std::string_view field_name, container_type &x, IsValid &is_valid, SyncValue &sync_value) |
|
template<class Inspector , class IsValid , class SyncValue , class SetFallback > |
static bool | load_field (Inspector &f, std::string_view field_name, container_type &x, IsValid &is_valid, SyncValue &sync_value, SetFallback &set_fallback) |
|
template<class T>
struct caf::optional_inspector_access< T >
Provides inspector access for types that represent optional values.
The documentation for this struct was generated from the following file:
- libcaf_core/caf/inspector_access.hpp