<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: C++基于异常的设计</title>
	<atom:link href="http://www.gythialy.net/posts/c-plus-plus-execption/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gythialy.net/posts/c-plus-plus-execption/</link>
	<description>Record something...</description>
	<pubDate>Sun, 23 Nov 2008 11:59:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta3-9771</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: cgc</title>
		<link>http://www.gythialy.net/posts/c-plus-plus-execption/comment-page-1/#comment-14844</link>
		<dc:creator>cgc</dc:creator>
		<pubDate>Tue, 29 Jan 2008 09:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.gythialy.net/posts/103#comment-14844</guid>
		<description>你的文章既然用的是如此高深的技术，为什么你的锁没有用auto_lock

template 
class auto_lock
{
public:
	auto_lock(T &#38; _t)
		:t(_t)
	{
		t.Lock();
	}

	~auto_lock()
	{
		t.UnLock();
	}
private:
	T&#38; t;
};</description>
		<content:encoded><![CDATA[<p>你的文章既然用的是如此高深的技术，为什么你的锁没有用auto_lock</p>
<p>template<br />
class auto_lock<br />
{<br />
public:<br />
	auto_lock(T &amp; _t)<br />
		:t(_t)<br />
	{<br />
		t.Lock();<br />
	}</p>
<p>	~auto_lock()<br />
	{<br />
		t.UnLock();<br />
	}<br />
private:<br />
	T&amp; t;<br />
};</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cgc</title>
		<link>http://www.gythialy.net/posts/c-plus-plus-execption/comment-page-1/#comment-14843</link>
		<dc:creator>cgc</dc:creator>
		<pubDate>Tue, 29 Jan 2008 09:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.gythialy.net/posts/103#comment-14843</guid>
		<description>不知道你在搞什么</description>
		<content:encoded><![CDATA[<p>不知道你在搞什么</p>
]]></content:encoded>
	</item>
</channel>
</rss>
