Skip to content
Snippets Groups Projects
Commit 4baaddce authored by Steven Palmer's avatar Steven Palmer
Browse files

Note to never use using in header files in T07

parent c1a9c615
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -303,6 +303,7 @@ string s = "I'm a string"; ...@@ -303,6 +303,7 @@ string s = "I'm a string";
\end{lstlisting} \end{lstlisting}
\begin{itemize} \begin{itemize}
\item This is similar to ``import Module'' vs ``from Module import *'' in Python \item This is similar to ``import Module'' vs ``from Module import *'' in Python
\item {\bf NEVER bring namespaces into scope with \texttt{using} in header files -- this will expose the namespace in all files that use the header}
\end{itemize} \end{itemize}
\end{frame} \end{frame}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment