opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
typelist.h File Reference
#include <concepts>
#include <cstddef>
#include <utility>
#include <variant>
Include dependency graph for typelist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  osc::Typelist<>
 
struct  osc::Typelist< Head, Tails... >
 
struct  osc::TypelistSize< Typelist< Types... > >
 
struct  osc::TypeAt< Typelist< Head, Tails... >, 0 >
 
struct  osc::TypeAt< Typelist< Head, Tails... >, Index >
 

Namespaces

namespace  osc
 
namespace  osc::detail
 

Typedefs

template<typename TList , size_t Index>
using osc::TypeAtT = typename TypeAt< TList, Index >::type
 
template<typename TTypelist >
using osc::VariantOfTypelistElements = decltype(detail::to_variant(std::declval< TTypelist >()))
 

Functions

template<typename... Types>
auto osc::detail::to_variant (Typelist< Types... >) -> std::variant< Types... >
 

Variables

template<typename TList >
constexpr size_t osc::TypelistSizeV = TypelistSize<TList>::value