From e7051f0265311abec43162ea489a29afe78377e0 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Mon, 25 Sep 2023 23:55:17 -0400 Subject: [PATCH] remove reference to page 7 --- lectures/08_vector_implementation/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/08_vector_implementation/README.md b/lectures/08_vector_implementation/README.md index 02792f7..c99cd13 100644 --- a/lectures/08_vector_implementation/README.md +++ b/lectures/08_vector_implementation/README.md @@ -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 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 -generate code. (Normally we don’t #include .cpp files!) See also diagram on page 7 of this handout. +generate code. (Normally we don’t #include .cpp files!). 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.