replace.hpp
Go to the documentation of this file.
#define ABL_DECLTYPE_RETURN(body_expr)
Utility for defining generic functions with a deduced return type, that are composed of a single expr...
Definition: utils.hpp:109
auto replace_all(TableT &&table) -> decltype(map(detail::lookup_default< estd::decay_t< TableT > >
Transducer that replaces all elements by table[tuplify(inputs)]
Definition: replace.hpp:101
auto replace_all_safe(TableT &&table) -> decltype(map(detail::lookup_safe< estd::decay_t< TableT > >
Transducer that replaces all elements by table.at(tuplify(inputs))
Definition: replace.hpp:109
auto map(MappingT &&mapping) -> map_t< estd::decay_t< MappingT > >
Similar to clojure.core/map$1.
Definition: map.hpp:79
auto replace(TableT &&table) -> decltype(map(detail::lookup_or_key< estd::decay_t< TableT > >
Similar to clojure.core/replace$1.
Definition: replace.hpp:93