Skip to main content Link Menu Expand (external link) Document Search Copy Copied

LinkedList(LinkedList&& list)

Copies the elements of the given parameter into the new list

Parameter

  • list - The list to copy the elements from

Example

LinkedList<int> list = LinkedList<int>(LinkedList<int>(3, 4, 5));
//list now holds the values 3, 4, and 5