From 0e6373fc965694f5d98b09691863bb344b3213f6 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Fri, 2 Feb 2024 13:24:48 -0500 Subject: [PATCH] adding the poll question --- lectures/08_vector_implementation/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lectures/08_vector_implementation/README.md b/lectures/08_vector_implementation/README.md index 3d31f6a..ed1345b 100644 --- a/lectures/08_vector_implementation/README.md +++ b/lectures/08_vector_implementation/README.md @@ -217,11 +217,11 @@ The destructor is called implicitly when an automatically-allocated object goes Match up the line of code with the function that is called. Each letter is used exactly once. -Foo f1;          a) assignment operator -Foo\* f2;          b) destructor +Foo f1;               a) assignment operator +Foo\* f2;               b) destructor f2 = new Foo(f1);          c) copy constructor -f1 = \*f2;          d) default constructor -delete f2;          e) none of the above +f1 = \*f2;               d) default constructor +delete f2;               e) none of the above ## 8.15 Leetcode Exercises