C++ Library Extensions 2022.12.09
To help learn modern C++ programming
TypeB< ElementTypeB > Class Template Reference

Public Member Functions

template<typename ElementTypeA >
void operation_over_type_a (TypeA< ElementTypeA > a)
 
 TypeB (ElementTypeB v=ElementTypeB{})
 
template<typename ElementType >
void operation_over_type_a (TypeA< ElementType > a)
 

Static Public Member Functions

template<typename Type , typename... Types>
static auto products (Type first, Types... args)
 

Friends

template<typename ElementTypeA >
class TypeA
 
template<typename ElementType >
class TypeA
 

Detailed Description

template<typename ElementTypeB>
class TypeB< ElementTypeB >

Definition at line 63 of file 025-template_members.cpp.

Constructor & Destructor Documentation

◆ TypeB()

template<typename ElementTypeB >
TypeB< ElementTypeB >::TypeB ( ElementTypeB< ElementTypeB >  v = ElementTypeB< ElementTypeB >{})
inline

Definition at line 74 of file 025-template_members.cpp.

Member Function Documentation

◆ operation_over_type_a() [1/2]

template<typename ElementTypeB >
template<typename ElementType >
void TypeB< ElementTypeB >::operation_over_type_a ( TypeA< ElementType >  a)
inline

Definition at line 79 of file 025-template_members.cpp.

◆ operation_over_type_a() [2/2]

template<typename ElementTypeB >
template<typename ElementTypeA >
void TypeB< ElementTypeB >::operation_over_type_a ( TypeA< ElementTypeA >  a)
inline

Definition at line 30 of file 042-partial_type.cpp.

Here is the caller graph for this function:

◆ products()

template<typename ElementType >
template<typename Type , typename... Types>
auto TypeB< ElementType >::products ( Type  first,
Types...  args 
)
static

Definition at line 106 of file 025-template_members.cpp.

Friends And Related Function Documentation

◆ TypeA [1/2]

template<typename ElementTypeB >
template<typename ElementTypeA >
friend class TypeA
friend

Definition at line 22 of file 042-partial_type.cpp.

◆ TypeA [2/2]

template<typename ElementTypeB >
template<typename ElementType >
class TypeA
friend

Definition at line 68 of file 025-template_members.cpp.


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