Boost.Hana  1.0.1
Your standard library for metaprogramming
adjust_if.hpp File Reference

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

Namespaces

 boost
 
 boost::hana
 Namespace containing everything in the library.
 

Variables

constexpr auto boost::hana::adjust_if
 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...
 

Detailed Description

Forward declares boost::hana::adjust_if.