Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Constructor
- Sorted_List::Sorted_List(Sorted_List &&l)
- {
- front = l.front;
- listSize = l.listSize;
- l.front = nullptr;
- l.listSize = 0;
- }
- //Den andra skiten
- Sorted_List &Sorted_List::operator=(Sorted_List &&l)
- {
- front = l.front;
- listSize = l.listSize;
- return *this;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement