remove reference to page 7

This commit is contained in:
Jidong Xiao
2023-09-25 23:55:17 -04:00
parent d558312b1d
commit e7051f0265

View File

@@ -63,7 +63,7 @@ regardless of whether or not they are needed.
are used. As a result, member functions definitions are often included within the class declaration or defined are used. As a result, member functions definitions are often included within the class declaration or defined
outside of the class declaration but still in the .h file. If member function definitions are placed in a separate outside of the class declaration but still in the .h file. If member function definitions are placed in a separate
.cpp file, this file must be #include-d, just like the .h file, because the compiler needs to see it in order to .cpp file, this file must be #include-d, just like the .h file, because the compiler needs to see it in order to
generate code. (Normally we dont #include .cpp files!) See also diagram on page 7 of this handout. generate code. (Normally we dont #include .cpp files!).
Note: Including function definitions in the .h for ordinary non-templated classes may lead to compilation errors Note: Including function definitions in the .h for ordinary non-templated classes may lead to compilation errors
about functions being “multiply defined”. Some of you have already seen these errors. about functions being “multiply defined”. Some of you have already seen these errors.