title: Functioning of splice() in cpp
body: <p>How does splice works?
  I read about it in <a href="http://www.cplusplus.com/reference/list/list/splice/" rel="nofollow">http://www.cplusplus.com/reference/list/list/splice/</a></p>
  
  <p>I couldn't understand this part from the code in the above link:</p>
  
  <pre><code>mylist1.splice ( mylist1.begin(), mylist1, it, mylist1.end());
  </code></pre>