From: Peter Munch Date: Thu, 29 Jun 2023 12:00:22 +0000 (+0200) Subject: Adjust spaces X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bf386563039aabf545bb249fce3b768749c51a0;p=release-papers.git Adjust spaces --- 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