Boost.Hana  1.5.0
Your standard library for metaprogramming
index_if.hpp File Reference

Forward declares boost::hana::index_if. More...

Namespaces

 boost::hana
 Namespace containing everything in the library.
 

Variables

constexpr auto boost::hana::index_if
 Finds the value associated to the first key satisfying a predicate.Given an Iterable structure xs and a predicate pred, index_if(xs, pred) returns a hana::optional containing an IntegralConstant of the index of the first element that satisfies the predicate or nothing if no element satisfies the predicate. More...
 

Detailed Description

Forward declares boost::hana::index_if.