It sounds more like they want you to implement a list yourself, not just using std::list. It's not clear from the question alone if they want you to implement a linked list, or some kind of array/vector data structure but maybe you can guess based on what the chapter is about and what you have learned so far.