summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-07-30 21:53:29 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2023-07-30 21:53:29 +0200
commit9c69c2c6bcfa0d56178e9d801c1e5cf24c9cde0b (patch)
tree8185c266a8b452d17b921e91d623c836bffcf45d
parent0078141810a020421fec9a78406171dacd446e34 (diff)
Tour3Log: Chapter 8
-rw-r--r--tour3_log/tour3_log.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/tour3_log/tour3_log.tex b/tour3_log/tour3_log.tex
index 4fd50f6..abf9ec5 100644
--- a/tour3_log/tour3_log.tex
+++ b/tour3_log/tour3_log.tex
@@ -166,4 +166,27 @@ Is it possible to somehow know, with a constexpr if, inside a
constexpr function if it is currently being invoked in a constexpr
context?
+\section*{Chapter 8: Concepts and Generic Programming}
+Is it somehow possible to indicate which specific types are allowed as
+template parameters? If for example it is unwanted to generate both a
+\texttt{Foo<int>} and \texttt{Foo<long int>} by accident? My guess is
+that this can be done with a concept/requires?
+
+\bigskip
+
+%In the example with \texttt{advance} it is stated
+%that \texttt{random\_access\_iterator} is ``stronger''
+%than \texttt{forward\_iterator}. Where/how is this relationship
+%established? does one extend the other for example?
+%In particular, how would two concepts be ranked if they are
+%completely disjoint in their respective requirement rules?
+In the case of a concept overload ambiguity, what can a developer do
+to point to a specific one and fix the ambiguity?
+
+\bigskip
+
+Are there any concepts required to be ``pre'' defined by the compiler
+that would otherwise be hard to express with \texttt{requires} clauses?
+Some of the fundamental language concepts for example.
+
\end{document}