Add a note about make_tuple
This commit is contained in:
parent
b2be3a3b5c
commit
b9061d2a76
|
@ -751,7 +751,9 @@ For example, the graph
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\end{center}
|
\end{center}
|
||||||
\begin{samepage}
|
\begin{samepage}
|
||||||
can be represented as follows:
|
can be represented as follows\footnote{In some older compilers, the function
|
||||||
|
\texttt{make\_tuple} must be used instead of the braces (for example,
|
||||||
|
\texttt{make\_tuple(1,2,5)} instead of \texttt{\{1,2,5\}}.}:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
edges.push_back({1,2,5});
|
edges.push_back({1,2,5});
|
||||||
edges.push_back({2,3,7});
|
edges.push_back({2,3,7});
|
||||||
|
|
Loading…
Reference in New Issue