Namespaces | |
| namespace | detail |
Functions | |
| template<typename Func > | |
| variant | zip_transform (const variant &v1, const variant &v2, const Func &op_func) |
| Applies the provided function to the corresponding variants in both lists. | |
| variant | concat_lists (const variant &v1, const variant &v2) |
| template<typename Range > | |
| auto | make_iterator_range (const variant_value_base *val, const Range &range) -> boost::iterator_range< variant_iterator > |
| template<typename Range , typename Func > | |
| std::string | to_string (const Range &range, const Func &op) |
| template<typename Range , typename Func > | |
| std::string | as_literal (const Range &range, const Func &op) |
| std::string wfl::implementation::as_literal | ( | const Range & | range, |
| const Func & | op | ||
| ) |
Definition at line 279 of file variant_value.cpp.
References wfl::implementation::detail::serialize_empty(), and to_string().
Referenced by wfl::variant_container< Container >::get_debug_string(), and wfl::variant_container< Container >::get_serialized_string().
Definition at line 597 of file variant.cpp.
References wfl::variant::as_list().
Referenced by wfl::variant::concatenate().
| auto wfl::implementation::make_iterator_range | ( | const variant_value_base * | val, |
| const Range & | range | ||
| ) | -> boost::iterator_range<variant_iterator> |
Definition at line 30 of file variant_value.cpp.
References std::cbegin(), and std::cend().
Referenced by wfl::variant_callable::make_iterator(), and wfl::variant_container< Container >::make_iterator().
| std::string wfl::implementation::to_string | ( | const Range & | range, |
| const Func & | op | ||
| ) |
Definition at line 273 of file variant_value.cpp.
References utils::join(), and wfl::implementation::detail::make_serialized_range().
Referenced by as_literal(), and wfl::variant_container< Container >::string_cast().
| variant wfl::implementation::zip_transform | ( | const variant & | v1, |
| const variant & | v2, | ||
| const Func & | op_func | ||
| ) |
Applies the provided function to the corresponding variants in both lists.
Definition at line 576 of file variant.cpp.
References wfl::variant::as_list(), and i.
Referenced by wfl::variant::list_elements_add(), wfl::variant::list_elements_div(), wfl::variant::list_elements_mul(), and wfl::variant::list_elements_sub().