Vcsn
2.0
Be Rational
|
#include <algorithm>
#include <vector>
#include <vcsn/misc/attributes.hh>
#include <vcsn/misc/tuple.hh>
Go to the source code of this file.
Namespaces | |
vcsn | |
vcsn::detail | |
Functions | |
template<typename Fun > | |
void | vcsn::detail::cross (Fun f) |
Variadic Cartesian product of vectors. More... | |
template<typename Fun , typename H , typename... Ts> | |
void | vcsn::detail::cross (Fun f, std::vector< H > const &h, std::vector< Ts > const &...ts) |
template<typename Fun , typename... Ts> | |
void | vcsn::detail::cross_tuple (Fun f, const std::tuple< Ts...> &ts) |
template<typename Fun , typename... Ts, size_t... I> | |
void | vcsn::detail::cross_tuple_ (Fun f, const std::tuple< Ts...> &ts, index_sequence< I...>) |
template<typename Cont > | |
std::vector< typename Cont::value_type > | vcsn::detail::to_vector (const Cont &cont) |
Return the content of cont as a vector. More... | |
template<typename T , typename Alloc > | |
ATTRIBUTE_PURE auto | vcsn::find (const std::vector< T, Alloc > &s, const T &e) -> typename std::vector< T, Alloc >::const_iterator |
Convenience wrapper around std::find. More... | |
template<typename T , typename Alloc > | |
ATTRIBUTE_PURE bool | vcsn::has (const std::vector< T, Alloc > &s, const T &e) |
Whether e is member of s. More... | |