
Build, read and return warehouse records held in given structs with aggregate and designated initialisation.
Search and update a std::vector of structs by field with an iterator loop and it->: find a SKU, total the units, list low stock and correct a quantity.
Work with an enum class of warehouse categories: switch over it for labels, parse names into an out-parameter, and convert a category to its index and step to the next one.
Summarise a warehouse stock list of structs: units per category in a std::array indexed by an enum class, a restock list of returned structs, deliveries booked through an iterator, and category summaries.