3.5.7. traits.hpp¶
Full path: permutation/traits.hpp
-
template<typename
Perm
>
classpermutation_traits
¶ -
using
value_type
= typename Perm::value_type¶ The whole specialization of this traits class only exists if this type exists.
-
static value_type
get
(const Perm &p, value_type i)¶
-
static Perm
make_identity
(std::size_t n)¶ - Returns
a permutation created with
make
and initialized as the identity.
-
static void
put
(Perm &p, value_type i, value_type image)¶
-
using