Boost.Hana: boost/hana/fwd/contains.hpp File Reference

| Boost.Hana 1.0.0 Your standard library for metaprogramming |

Namespaces | Variables
contains.hpp File Reference

Forward declares `boost::hana::contains` and `boost::hana::in`. More...

## Namespaces

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

## Variables

constexpr auto | boost::hana::contains

Returns whether the key occurs in the structure.Given a `Searchable` structure `xs` and a `key`, `contains` returns whether any of the keys of the structure is equal to the given `key`. If the structure is not finite, an equal key has to appear at a finite position in the structure for this method to finish. For convenience, `contains` can also be applied in infix notation. More...

constexpr auto | boost::hana::in = hana::infix(hana::flip(hana::contains))

Return whether the key occurs in the structure.Specifically, this is equivalent to `contains`, except `in` takes its arguments in reverse order. Like `contains`, `in` can also be applied in infix notation for increased expressiveness. This function is not a method that can be overriden; it is just a convenience function provided with the concept. More...

## Detailed Description

Forward declares `boost::hana::contains` and `boost::hana::in`.

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