From 5bf386563039aabf545bb249fce3b768749c51a0 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Thu, 29 Jun 2023 14:00:22 +0200 Subject: [PATCH] Adjust spaces --- 9.5/paper.tex | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/9.5/paper.tex b/9.5/paper.tex index 0e2b981..8b922d8 100644 --- a/9.5/paper.tex +++ b/9.5/paper.tex @@ -867,10 +867,10 @@ template arguments need to satisfy. This aids in situations such as with the following function: \begin{c++} - template - std::vector - find_cells_adjacent_to_vertex(const MeshType & mesh, - const unsigned int vertex); +template +std::vector +find_cells_adjacent_to_vertex(const MeshType & mesh, + const unsigned int vertex); \end{c++} This function is intended to be called with either a \texttt{Triangulation} or \texttt{DoFHandler} object as first @@ -885,11 +885,11 @@ the linker reports an undefined symbol. We have started to address this by annotating functions using C++20-style ``\texttt{requires}'' clauses: \begin{c++} - template - requires (concepts::is_triangulation_or_dof_handler) - std::vector - find_cells_adjacent_to_vertex(const MeshType & mesh, - const unsigned int vertex) +template + requires (concepts::is_triangulation_or_dof_handler) +std::vector +find_cells_adjacent_to_vertex(const MeshType & mesh, + const unsigned int vertex) \end{c++} If the compiler supports C++20, then the added clause will cause the compiler to reject any call to the function for which the first -- 2.39.5