C++ Library Extensions 2022.12.09
To help learn modern C++ programming
AnimalFarm< Animals > Struct Template Reference
Inheritance diagram for AnimalFarm< Animals >:
[legend]
Collaboration diagram for AnimalFarm< Animals >:
[legend]

Classes

struct  static_loop
 

Public Types

using animal_types = tpf::types::type_list_t< Animals... >
 

Public Member Functions

 AnimalFarm (Animals... animals)
 
template<size_t type_index>
void report ()
 
void operator() () const
 

Detailed Description

template<typename... Animals>
struct AnimalFarm< Animals >

Definition at line 39 of file 16-advanced_mixin.cpp.

Member Typedef Documentation

◆ animal_types

template<typename... Animals>
using AnimalFarm< Animals >::animal_types = tpf::types::type_list_t<Animals...>

Definition at line 43 of file 16-advanced_mixin.cpp.

Constructor & Destructor Documentation

◆ AnimalFarm()

template<typename... Animals>
AnimalFarm< Animals >::AnimalFarm ( Animals...  animals)
inline

Definition at line 45 of file 16-advanced_mixin.cpp.

Member Function Documentation

◆ operator()()

template<typename... Animals>
void AnimalFarm< Animals >::operator() ( ) const
inline

Definition at line 81 of file 16-advanced_mixin.cpp.

Here is the call graph for this function:

◆ report()

template<typename... Animals>
template<size_t type_index>
void AnimalFarm< Animals >::report ( )
inline

Definition at line 48 of file 16-advanced_mixin.cpp.

Here is the caller graph for this function:

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