C++ Library Extensions 2022.12.09
To help learn modern C++ programming
container_of_tuples_t< ContainerType, ElementTypes > Class Template Reference
Inheritance diagram for container_of_tuples_t< ContainerType, ElementTypes >:
[legend]
Collaboration diagram for container_of_tuples_t< ContainerType, ElementTypes >:
[legend]

Public Types

using tuple_t = std::tuple< ElementTypes... >
 
using base_type = ContainerType< std::tuple< ElementTypes... > >
 

Friends

tpf::sstreamoperator<< (tpf::sstream &os, const container_of_tuples_t &ct)
 

Detailed Description

template<template< typename, typename... > class ContainerType, typename... ElementTypes>
class container_of_tuples_t< ContainerType, ElementTypes >

Definition at line 12 of file 08-container_tuple.cpp.

Member Typedef Documentation

◆ base_type

template<template< typename, typename... > class ContainerType, typename... ElementTypes>
using container_of_tuples_t< ContainerType, ElementTypes >::base_type = ContainerType< std::tuple<ElementTypes...> >

Definition at line 17 of file 08-container_tuple.cpp.

◆ tuple_t

template<template< typename, typename... > class ContainerType, typename... ElementTypes>
using container_of_tuples_t< ContainerType, ElementTypes >::tuple_t = std::tuple<ElementTypes...>

Definition at line 15 of file 08-container_tuple.cpp.

Friends And Related Function Documentation

◆ operator<<

template<template< typename, typename... > class ContainerType, typename... ElementTypes>
tpf::sstream & operator<< ( tpf::sstream os,
const container_of_tuples_t< ContainerType, ElementTypes > &  ct 
)
friend

Definition at line 21 of file 08-container_tuple.cpp.


The documentation for this class was generated from the following file: