The fallback_to_none policy results in returning an empty value reference if the attribute value cannot be extracted.
More...
#include <fallback_policy.hpp>
|
| template<typename FunT > |
| static bool | apply_default (FunT &) |
| | The method is called in order to apply a function object to the default value. More...
|
| |
| template<typename FunT > |
| static bool | apply_default (FunT const &) |
| | The method is called in order to apply a function object to the default value. More...
|
| |
| static void | on_invalid_type (type_info_wrapper const &) |
| | The method is called when value extraction failed because the attribute value has different type than requested. More...
|
| |
| static void | on_missing_value () |
| | The method is called when value extraction failed because the attribute value was not found. More...
|
| |
The fallback_to_none policy results in returning an empty value reference if the attribute value cannot be extracted.
| Enumerator |
|---|
| guaranteed_result |
|
template<typename FunT >
| static bool boost::fallback_to_none::apply_default |
( |
FunT & |
| ) |
|
|
inlinestatic |
The method is called in order to apply a function object to the default value.
template<typename FunT >
| static bool boost::fallback_to_none::apply_default |
( |
FunT const & |
| ) |
|
|
inlinestatic |
The method is called in order to apply a function object to the default value.
The method is called when value extraction failed because the attribute value has different type than requested.
| static void boost::fallback_to_none::on_missing_value |
( |
| ) |
|
|
inlinestatic |
The method is called when value extraction failed because the attribute value was not found.
The documentation for this struct was generated from the following file: