Tries to convert it to an (maybe const) attribute value. More...
#include <variable_info_private.hpp>
Public Types | |
using | result_t = typename as_scalar_visitor::result_t |
using | param_t = typename as_scalar_visitor::param_t |
Public Types inherited from variable_info_implementation::info_visitor_base< R, P > | |
using | result_t = R |
using | param_t = P & |
Public Member Functions | |
result_t | from_named (param_t state) const |
result_t | from_temporary (param_t) const |
Only implemented for read-only variable_info. More... | |
const config::attribute_value & | from_temporary (as_scalar_visitor::param_t state) const |
Values like '.length' are readonly so we only support reading them, especially since we don't want to return non-const references. More... | |
Tries to convert it to an (maybe const) attribute value.
Definition at line 195 of file variable_info_private.hpp.
using variable_info_implementation::as_scalar_visitor< V >::param_t = typename as_scalar_visitor::param_t |
Definition at line 200 of file variable_info_private.hpp.
using variable_info_implementation::as_scalar_visitor< V >::result_t = typename as_scalar_visitor::result_t |
Definition at line 199 of file variable_info_private.hpp.
|
inline |
Definition at line 202 of file variable_info_private.hpp.
const config::attribute_value & variable_info_implementation::as_scalar_visitor< const vi_policy_const >::from_temporary | ( | as_scalar_visitor< V >::param_t | state | ) | const |
Values like '.length' are readonly so we only support reading them, especially since we don't want to return non-const references.
Definition at line 221 of file variable_info_private.hpp.
|
inline |
Only implemented for read-only variable_info.
Other types use the default throw implementation.
Definition at line 210 of file variable_info_private.hpp.