C++ Actor Framework  0.18
Public Types | Static Public Member Functions | List of all members
caf::get_or_deduction_guide< T > Struct Template Reference

Customization point for configuring automatic mappings from default value types to deduced types. More...

#include <config_value.hpp>

Collaboration diagram for caf::get_or_deduction_guide< T >:
Collaboration graph

Public Types

using value_type = T
 

Static Public Member Functions

template<class V >
static decltype(auto) convert (V &&x)
 

Detailed Description

template<class T>
struct caf::get_or_deduction_guide< T >

Customization point for configuring automatic mappings from default value types to deduced types.

For example, get_or(value, "foo"sv) must return a string rather than a string_view. However, user-defined overloads must not specialize this class for any type from the namespaces std or caf.


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