forward_list.erase_after seems to return an iterator to the erased element?Then question closed, thank you for your patience!
forward_list.erase_after seems to return an iterator to the erased element?Yes I see it now! I wrote that section this way now, and it works: [code] fw_list_prev = fw_list_cu...
forward_list.erase_after seems to return an iterator to the erased element?I am supposed to duplicate odd elements and remove even elements.
forward_list.erase_after seems to return an iterator to the erased element?I am learning C++11 on my own using C++ Primer. I'm supposed to write a program using a forward_list...