Constructor - one Box (moved to source file to gain access to definition of Package)
| 4 | |
| 5 | // Constructor - one Box (moved to source file to gain access to definition of Package) |
| 6 | Truckload::Truckload(SharedBox box) |
| 7 | { |
| 8 | m_head = m_tail = new Package{ box }; |
| 9 | } |
| 10 | |
| 11 | // Constructor - vector of Boxes |
| 12 | Truckload::Truckload(const std::vector<SharedBox>& boxes) |