Boost.Hana  1.6.0
Your standard library for metaprogramming
permutations.hpp File Reference

Forward declares boost::hana::permutations. More...


 Namespace containing everything in the library.


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

Detailed Description

Forward declares boost::hana::permutations.