#include <boost/hana/core/when.hpp>
-BOOST_HANA_NAMESPACE_BEGIN
+namespace boost { namespace hana {
//! Finds the value associated to the first key satisfying a predicate.
//! @ingroup group-Iterable
//!
constexpr auto operator()(Xs&& xs, Pred&& pred) const;
};
- constexpr index_if_t index_if{};
+ BOOST_HANA_INLINE_VARIABLE constexpr index_if_t index_if{};
#endif
-BOOST_HANA_NAMESPACE_END
+}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_INDEX_IF_HPP