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

Go to the source code of this file.

Typedefs

template<typename Type >
using decay_remove_cv_ref_t = std::remove_cv_t< std::remove_reference_t< std::decay_t< Type > > >
 

Functions

void test_reverse_range_based_for_loop ()
 
void test_reverse_range_for ()
 
void test_make_variants_containers ()
 
template<typename Type >
decltype(auto) decay (Type &&arg)
 
void test_decay ()
 
template<typename Type , typename... Types>
auto make_vector (Type &&arg, Types &&... args)
 
void test_make_vector ()
 
template<typename Type , typename... Types>
auto make_container (Type &&arg, Types &&... args)
 
void test_make_container ()
 
int main ()
 

Variables

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

Typedef Documentation

◆ decay_remove_cv_ref_t

template<typename Type >
using decay_remove_cv_ref_t = std::remove_cv_t<std::remove_reference_t<std::decay_t<Type> >>

Definition at line 135 of file 037-make_vector.cpp.

Function Documentation

◆ decay()

template<typename Type >
decltype(auto) decay ( Type &&  arg)

Definition at line 104 of file 037-make_vector.cpp.

Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 255 of file 037-make_vector.cpp.

Here is the call graph for this function:

◆ make_container()

template<typename Type , typename... Types>
auto make_container ( Type &&  arg,
Types &&...  args 
)

Definition at line 216 of file 037-make_vector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_vector()

template<typename Type , typename... Types>
auto make_vector ( Type &&  arg,
Types &&...  args 
)

Definition at line 138 of file 037-make_vector.cpp.

Here is the caller graph for this function:

◆ test_decay()

void test_decay ( )

Definition at line 121 of file 037-make_vector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_make_container()

void test_make_container ( )

Definition at line 239 of file 037-make_vector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_make_variants_containers()

void test_make_variants_containers ( )

Definition at line 67 of file 037-make_vector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_make_vector()

void test_make_vector ( )

Definition at line 199 of file 037-make_vector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_reverse_range_based_for_loop()

void test_reverse_range_based_for_loop ( )

Definition at line 6 of file 037-make_vector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_reverse_range_for()

void test_reverse_range_for ( )

Definition at line 32 of file 037-make_vector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 4 of file 037-make_vector.cpp.

◆ stream

tpf::sstream stream

Definition at line 3 of file 037-make_vector.cpp.