permutations.hpp File Reference

Forward declares `boost::hana::permutations`

.
More...

## Namespaces | |

boost::hana | |

Namespace containing everything in the library. | |

## Variables | |

constexpr auto | boost::hana::permutations |

Return a sequence of all the permutations of the given sequence.Specifically, `permutations(xs)` is a sequence whose elements are permutations of the original sequence `xs` . The permutations are not guaranteed to be in any specific order. Also note that the number of permutations grows very rapidly as the length of the original sequence increases. The growth rate is `O(length(xs)!)` ; with a sequence `xs` of length only 8, `permutations(xs)` contains over 40 000 elements! More... | |

Forward declares `boost::hana::permutations`

.

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