C++ Library Extensions 2022.12.09
To help learn modern C++ programming
21-is_template.cpp File Reference
#include <tpf_output.hpp>
Include dependency graph for 21-is_template.cpp:

Go to the source code of this file.

Functions

template<typename Type >
void is_template_class (Type value)
 
void test_if_template ()
 
template<typename Type1 , typename Type2 >
void extract_template_arguments (Type1 arg1, Type2 arg2)
 
void test_extract_template_arguments ()
 
void test_template_argument_extraction ()
 
int main ()
 

Variables

tpf::sstream stream
 
auto endl = tpf::endl
 

Function Documentation

◆ extract_template_arguments()

template<typename Type1 , typename Type2 >
void extract_template_arguments ( Type1  arg1,
Type2  arg2 
)

Definition at line 28 of file 21-is_template.cpp.

Here is the caller graph for this function:

◆ is_template_class()

template<typename Type >
void is_template_class ( Type  value)

Definition at line 9 of file 21-is_template.cpp.

Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 111 of file 21-is_template.cpp.

Here is the call graph for this function:

◆ test_extract_template_arguments()

void test_extract_template_arguments ( )

Definition at line 68 of file 21-is_template.cpp.

Here is the call graph for this function:

◆ test_if_template()

void test_if_template ( )

Definition at line 17 of file 21-is_template.cpp.

Here is the call graph for this function:

◆ test_template_argument_extraction()

void test_template_argument_extraction ( )

Definition at line 79 of file 21-is_template.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 6 of file 21-is_template.cpp.

◆ stream

tpf::sstream stream

Definition at line 5 of file 21-is_template.cpp.