Today we will review memory allocation in C++ and go over the basic tool for managing memory, the pattern Resource Acquisition is Initialization or RAII, and introduce Copy Constructors and the Assignment Operator.
Lets define and implement a dynamically-sized Bag ADT
dynamic_bag.hpp
define the class DynamicBag
conforming to the BagADT interface.dynamic_bag_tests.cpp
to implement tests for the methods using Catch.dynamic_bag.tpp
implement the DynamicBag
methods.dynamic_bag.hpp
, dynamic_bag.tpp
, and dynamic_bag_tests.cpp
files collected into a zip file via Canvas at the Assignment "Exercise for Meeting 8". You can create this zip file using the CMake submission
target.