Add a note about make_tuple

This commit is contained in:
Antti H S Laaksonen 2017-04-19 20:53:58 +03:00
parent b2be3a3b5c
commit b9061d2a76
1 changed files with 3 additions and 1 deletions

View File

@ -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});