group.hpp File Reference

Forward declares `boost::hana::group`

.
More...

## Namespaces | |

boost::hana | |

Namespace containing everything in the library. | |

## Variables | |

constexpr auto | boost::hana::group |

Group adjacent elements of a sequence that all respect a binary predicate, by default equality.Given a finite Sequence and an optional predicate (by default `equal` ), `group` returns a sequence of subsequences representing groups of adjacent elements that are "equal" with respect to the predicate. In other words, the groups are such that the predicate is satisfied when it is applied to any two adjacent elements in that group. The sequence returned by `group` is such that the concatenation of its elements is equal to the original sequence, which is equivalent to saying that the order of the elements is not changed. More... | |

Forward declares `boost::hana::group`

.

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