<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://valley.egloos.com/rss/style/style.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>이글루스 'erase' 태그 최근글</title>
		<link>http://valley.egloos.com/tag/erase</link>
		<description>erase</description>
		<language>ko</language>
		<pubDate>Thu, 03 Jan 2008 11:48:21 +0900</pubDate>
		<generator>Egloos</generator>
		<item>
	<title><![CDATA[list::insert, list::erase]]></title>
	<link>http://purewell.egloos.com/3560419</link>
	<guid>http://purewell.egloos.com/3560419</guid>
	<description>
	<![CDATA[ 
STL가 제공하는 list에 insert, erase는 각각 iterator를 반환한다. (형태에 따라 반환하지 않는 것도 있으니 주의)  iterator insert(iterator pos, const T&amp;amp; x) : pos 앞쪽에 x를 넣고, x에 대한 iterator를 반환한다.iterator erase(iterator pos) : pos에 해당하는 아이템을 삭제하고, pos 다음 iterator를 반환한다.예)  #include &amp;lt;iostream&amp;gt;  #include &amp;lt;list&amp;gt;  #include &amp;lt;set&amp;gt;  #include &amp;lt;algorithm&amp;gt;  using namespace std;    typedef list&amp;lt;int&amp;gt; list_int;  t	]]>
	</description>
	<pubDate>Thu, 03 Jan 2008 11:48:21 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
	</channel>
</rss>

