#include <iostream>
#include <tuple>
Go to the source code of this file.
Classes | |
class | flecsi::util::detail::are_integral< Ts > |
A helper to identify if all types Ts are integral. More... | |
class | flecsi::util::detail::are_integral< T, Ts... > |
struct | flecsi::util::lexical_comparison< T > |
struct | flecsi::util::lexical_comparison< std::tuple< Args... > > |
class | flecsi::util::simple_id_t< T, Compare > |
A simple id type that can be constructed from multiple indexes. More... | |
class | flecsi::util::simple_id_t< std::tuple< Args... >, Compare< std::tuple< Args... > > > |
Namespaces | |
flecsi | |
Functions | |
template<std::size_t I = 0, typename TupleA , typename TupleB , std::enable_if_t< std::tuple_size< TupleA >::value==std::tuple_size< TupleB >::value &&I==std::tuple_size< TupleA >::value - 1 > * = nullptr> | |
bool | flecsi::util::detail::less_than (const TupleA &a, const TupleB &b) |
Comparison function for two tuples Comparison is done in a lexical fashion. More... | |
template<std::size_t I = 0, typename TupleA , typename TupleB > | |
bool | flecsi::util::detail::less_than (const TupleA &a, const TupleB &b) |
template<std::size_t I = 0, typename TupleA , typename TupleB , std::enable_if_t< std::tuple_size< TupleA >::value==std::tuple_size< TupleB >::value &&I==std::tuple_size< TupleA >::value - 1 > * = nullptr> | |
bool | flecsi::util::detail::equal_to (const TupleA &a, const TupleB &b) |
Comparison function for two tuples. More... | |
template<std::size_t I = 0, typename TupleA , typename TupleB > | |
bool | flecsi::util::detail::equal_to (const TupleA &a, const TupleB &b) |
template<std::size_t I = 0, typename TupleA , std::enable_if_t< I==std::tuple_size< TupleA >::value - 1 > * = nullptr> | |
std::ostream & | flecsi::util::detail::print (std::ostream &output, const TupleA &a, const char *) |
Print function for a tuple. More... | |
template<std::size_t I = 0, typename TupleA > | |
std::ostream & | flecsi::util::detail::print (std::ostream &output, const TupleA &a, const char *sep) |
Variables | |
template<typename... Ts> | |
constexpr bool | flecsi::util::detail::are_integral_v = are_integral<Ts...>::value |
Equal to true if Ts are all integral types. | |
bool flecsi::util::detail::equal_to | ( | const TupleA & | a, |
const TupleB & | b | ||
) |
Comparison function for two tuples.
[in] | a,b | The two tuples to compare |
I | the tuple index to check |
TupleA,TupleB | The types of the two tuples (dont have to match) |
bool flecsi::util::detail::less_than | ( | const TupleA & | a, |
const TupleB & | b | ||
) |
Comparison function for two tuples Comparison is done in a lexical fashion.
[in] | a,b | The two tuples to compare |
I | the tuple index to check |
TupleA,TupleB | The types of the two tuples (dont have to match) |
std::ostream& flecsi::util::detail::print | ( | std::ostream & | output, |
const TupleA & | a, | ||
const char * | |||
) |
Print function for a tuple.
[in] | a | The tuple to print. |
I | the tuple index to print |
TupleA | The type of the tuples |