Boost.Hana  1.2.0 Your standard library for metaprogramming

Forward declares boost::hana::adjust_if. More...

Namespaces

boost::hana
Namespace containing everything in the library.

Variables

Apply a function on all the elements of a structure satisfying a predicate.Given a Functor, a predicate pred and a function f, adjust_if will adjust the elements of the Functor that satisfy the predicate with the function f. In other words, adjust_if will return a new Functor equal to the original one, except that the elements satisfying the predicate will be transformed with the given function. Elements for which the predicate is not satisfied are left untouched, and they are kept as-is in the resulting Functor. More...
Forward declares boost::hana::adjust_if.