IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
Tuple.h File Reference
#include <Kokkos_Macros.hpp>
#include <concepts>
#include <cstddef>
#include <functional>
#include <type_traits>
#include <utility>
Include dependency graph for Tuple.h:

Go to the source code of this file.

Classes

struct  ippl::TupleImpl< i, N, T, R, Ts... >
struct  ippl::TupleImpl< i, N, T >
 Partial specialization of TupleImpl for handling the terminal element. More...
class  ippl::Tuple< Ts >
 Generic tuple class with various operations. More...
struct  ippl::TupleTypeImpl< Idx, T, Ts >
struct  ippl::TupleTypeImpl< 0, T, Ts... >
struct  std::tuple_size<::ippl::Tuple< Ts... > >
struct  std::tuple_element< Idx, ::ippl::Tuple< Ts... > >

Namespaces

namespace  ippl
namespace  std
 STL namespace.

Typedefs

template<std::size_t Idx, typename... Ts>
using ippl::TupleType = typename TupleTypeImpl<Idx, Ts...>::type

Functions

template<std::size_t Idx, typename... Ts>
KOKKOS_INLINE_FUNCTION auto & ippl::get (Tuple< Ts... > &t)
 Accessor function to get an element mutable reference at a specific index from a Tuple.
template<std::size_t Idx, typename... Ts>
KOKKOS_INLINE_FUNCTION const auto & ippl::get (const Tuple< Ts... > &t)
 Accessor function to get a element const reference at a specific index from a Tuple.
template<typename... Ts>
KOKKOS_INLINE_FUNCTION Tuple< Ts... > ippl::makeTuple (Ts &&... args)
 Function to create a Tuple with specified elements.
template<size_t Idx, typename... Ts>
KOKKOS_INLINE_FUNCTION auto & std::get (::ippl::Tuple< Ts... > &t)
template<size_t Idx, typename... Ts>
KOKKOS_INLINE_FUNCTION const auto & std::get (const ::ippl::Tuple< Ts... > &t)