File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 5
5
\begin {block }{Interface}
6
6
Set of declarations defining some functionality
7
7
\begin {itemize }
8
- \item put in a so-called `` header file''
9
- \item the implementation exists somewhere else
8
+ \item Put in a so-called `` header file''
9
+ \item The implementation exists somewhere else
10
10
\end {itemize }
11
11
\end {block }
12
12
\begin {block }{Header : hello.hpp}
43
43
\pause
44
44
\begin {block }{Use only in very restricted cases}
45
45
\begin {itemize }
46
- \item inclusion of headers
47
- \item customization for specific compilers/platforms
46
+ \item Conditional inclusion of headers
47
+ \item Customization for specific compilers/platforms
48
48
\end {itemize }
49
49
\end {block }
50
50
\end {frame }
53
53
\frametitlecpp [98]{Header include guards}
54
54
\begin {block }{Problem: redefinition by accident}
55
55
\begin {itemize }
56
- \item a header may define new names (e.g.\ types)
57
- \item multiple (transitive) inclusions of a header would define those names multiple times, which is a compile error
58
- \item solution : guard the content of your headers!
56
+ \item Headers may define new names (e.g.\ types)
57
+ \item Multiple (transitive) inclusions of a header would define those names multiple times, which is a compile error
58
+ \item Solution : guard the content of your headers!
59
59
\end {itemize }
60
60
\end {block }
61
61
\begin {block }{Include guards}
You can’t perform that action at this time.
0 commit comments