Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0bf049c

Browse files
sponceSebastien Poncebernhardmgruber
authored
Fixes in tables of godbolt and good practice links (#496)
Fixes in tables of godbolt and good practice links --------- Co-authored-by: Sebastien Ponce <sebastien.ponce@cern.ch> Co-authored-by: Bernhard Manfred Gruber <bernhardmgruber@gmail.com>
1 parent 4c7fe95 commit 0bf049c

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

‎talk/expert/coroutines.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ \subsection{Coroutines}
234234
\begin{frame}[fragile]
235235
\frametitlecpp[20]{Resuming a coroutine}
236236
\scriptsize
237-
\begin{exampleblockGB}{User code}{https://godbolt.org/z/qx46Pa4v3}{Resuming a coroutine}
237+
\begin{exampleblockGB}{User code}{https://godbolt.org/z/qx46Pa4v3}{Coroutine resumption}
238238
\begin{cppcode*}{gobble=2}
239239
Task myCoroutine() {
240240
std::cout << "Step 1 of coroutine\n";

‎talk/morelanguage/raii.tex‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335

336336
\begin{frame}[fragile]
337337
\frametitlecpp[11]{Quiz: \texttt{std::shared\_ptr} in use}
338-
\begin{exampleblockGB}{What is the output of this code?}{https://godbolt.org/z/vM35Y6qEW}{\texttt{std::shared\_ptr} quiz}
338+
\begin{exampleblockGB}{What is the output of this code?}{https://godbolt.org/z/vM35Y6qEW}{\texttt{shared\_ptr} quiz}
339339
\small
340340
\begin{cppcode*}{gobble=2}
341341
auto shared = std::make_shared<int>(100);
@@ -397,7 +397,7 @@
397397

398398
\begin{frame}[fragile]
399399
\frametitlecpp[11]{Quiz: \texttt{shared\_ptr} and \texttt{weak\_ptr} in use}
400-
\begin{exampleblockGB}{What is the output of this code?}{https://godbolt.org}{\texttt{shared\_ptr} vs.\ \texttt{weak\_ptr} quiz}
400+
\begin{exampleblockGB}{What is the output of this code?}{https://godbolt.org}{\texttt{shared/weak\_ptr}}
401401
\small
402402
\begin{cppcode*}{gobble=2}
403403
auto shared = std::make_shared<int>(100);

‎talk/objectorientation/advancedoo.tex‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,13 +536,12 @@
536536
\item And for rare special cases
537537
\end{itemize}
538538
\end{goodpractice}
539-
\pause
540-
\begin{goodpractice}{Absolutely avoid diamond-shaped inheritance}
539+
\begin{goodpracticeWithShortcut}{Absolutely avoid diamond-shaped inheritance}{NO diamond inheritance}
541540
\begin{itemize}
542541
\item This is a sign that your architecture is not correct
543542
\item In case you are tempted, think twice and change your mind
544543
\end{itemize}
545-
\end{goodpractice}
544+
\end{goodpracticeWithShortcut}
546545
\end{frame}
547546

548547
\begin{frame}[fragile]

‎talk/objectorientation/constructors.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
\item A constructor with a single non-default parameter can be used by the compiler for an implicit conversion.
134134
\end{itemize}
135135
\end{block}
136-
\begin{exampleblockGB}{Example}{https://godbolt.org/z/TvqT185fz}{Unary constructor in action}
136+
\begin{exampleblockGB}{Example}{https://godbolt.org/z/TvqT185fz}{Unary constructor}
137137
\begin{cppcode}
138138
void print(const Vector & v) {
139139
std::cout << "printing v elements...\n";

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /