adjust_if.hpp File Reference

Forward declares `boost::hana::adjust_if`

.
More...

## Namespaces | |

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... | |

Forward declares `boost::hana::adjust_if`

.

- Copyright
- Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)