#include <iostream>
#include <tuple>
Go to the source code of this file.
|
| 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) |
| |
◆ equal_to()
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.
- Parameters
-
| [in] | a,b | The two tuples to compare |
- Returns
- true if a = b
- Template Parameters
-
| I | the tuple index to check |
| TupleA,TupleB | The types of the two tuples (dont have to match) |
◆ less_than()
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.
- Parameters
-
| [in] | a,b | The two tuples to compare |
- Returns
- true if a < b
- Template Parameters
-
| I | the tuple index to check |
| TupleA,TupleB | The types of the two tuples (dont have to match) |
◆ print()
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.
- Parameters
-
- Returns
- A reference to the output stream
- Template Parameters
-
| I | the tuple index to print |
| TupleA | The type of the tuples |