From 0078141810a020421fec9a78406171dacd446e34 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 30 Jul 2023 19:32:04 +0200 Subject: Tour3Log: Chapter 7 --- tour3_log/tour3_log.tex | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tour3_log/tour3_log.tex b/tour3_log/tour3_log.tex index 98cc769..4fd50f6 100644 --- a/tour3_log/tour3_log.tex +++ b/tour3_log/tour3_log.tex @@ -149,4 +149,21 @@ It is mentioned that coroutines can execute in parallel. Is this when used alongside for example \texttt{std::async}? It would be interesting to see an example of this? +\section*{Chapter 7: Templates} +Does the full template implementation always have to be available at +instantiation time? (ie. in a header file) or can parts of the code be in +its own compilation unit so a developer does not have to be +``exposed'' to all the implementation details of a templated class. + +\bigskip + +Is a lambda always allocated on the stack or will it use the +freestore under certains circumstances, like std::string's SSO? + +\bigskip + +Is it possible to somehow know, with a constexpr if, inside a +constexpr function if it is currently being invoked in a constexpr +context? + \end{document} -- cgit v1.2.3