Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::vector<List*> GNPtoLIST(const std::vector<std::vector<int>> & matrix) {
- std::vector<List*> vlist;
- std::unique_ptr<List> list;
- for (int i = 0; i<5; i++)
- {
- addBackToList(list, 5);
- }
- vlist.push_back(list.get());
- list.reset(nullptr);
- return vlist;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement