2024
-
November
28.11.2024 at 14:30
GSC 0|06 and on Zoom
Basic to intermediate
Classes and the rule of zero
After having discussed uniform initialization (a.k.a. brace initialization), we will try to answer together to the following questions. What are special member functions? When should I provide a class with them? What happens if I provide only some of them? What happens if one constructor accept an
std::initializer_list<T>
as parameter? -
December
16.12.2024 at 16:15
FIAS 0.101 and on Zoom
Basic to intermediate
Rvalue and forwarding references
This time we will start implementing the special member functions of a
ResourceOwner
class. On the way the copy-and-swap idiom will be discussed and we will try to explore whatstd::move
andstd::forward
exactly do. Since we could only cover what rvalue references are and whatstd::move
does (nothing bad, it was actually nice to have many questions to clarify), the rest of the topic has been postponed to the following meeting.