this dir | view | cards | source | edit | dark top

Programming in C++

Programming in C++

header files in C++

the whole class has to be in the header file (including implementation of the member functions, even private members)

when using const and pointers together, it might get complicated

the behavior will differ based on the const keyword position

function declaration vs. definition

std::string

references

resolution of the overloaded function depends on the number and types of the arguments

or, for member functions, it depends on the type of the object (whether it's modifiable or not)

invalidations in containers

using virtual functions

virtual inheritance


forwarding (universal) references

variadic templates

traits, policies, functors, tags

Hurá, máš hotovo! 🎉
Pokud ti moje kartičky pomohly, můžeš mi koupit pivo.