<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-35024958.post133372406710126340..comments</id><updated>2010-04-08T18:52:13.408+10:00</updated><category term='templates'/><category term='static_assert'/><category term='threads'/><category term='timer'/><category term='decltype'/><category term='sfinae'/><category term='error_code'/><category term='ssl'/><category term='c++0x'/><category term='parallelism'/><category term='boost'/><category term='iostream'/><category term='c++'/><category term='timeout'/><category term='asio'/><category term='system_error'/><category term='bind'/><category term='hardware'/><category term='coroutines'/><title type='text'>Comments on Thinking Asynchronously in C++: System error support in C++0x - part 2</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.think-async.com/feeds/133372406710126340/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/133372406710126340/comments/default'/><link rel='alternate' type='text/html' href='http://blog.think-async.com/2010/04/system-error-support-in-c0x-part-2.html'/><author><name>chris</name><uri>http://www.blogger.com/profile/09159109667366328919</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-35024958.post-7384694444274607384</id><published>2010-04-08T18:52:13.391+10:00</published><updated>2010-04-08T18:52:13.391+10:00</updated><title type='text'>Greate post!

I&amp;#39;ve once use Asio to wrap MySQL...</title><content type='html'>Greate post!&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve once use Asio to wrap MySQL C API and porting MySQL error codes to Boost.System. The tricky part is that, to get an error message, you must pass both the error code *and* the MySQL handle, while you can only specify a simple [error code -&amp;gt; error message] map without any other context information (like the MySQL handle). At last, I had to deprecate the message() method of the corresponding error_category subclass.&lt;br /&gt;&lt;br /&gt;I wonder how can this issue be solved?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/133372406710126340/comments/default/7384694444274607384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/133372406710126340/comments/default/7384694444274607384'/><link rel='alternate' type='text/html' href='http://blog.think-async.com/2010/04/system-error-support-in-c0x-part-2.html?showComment=1270716733391#c7384694444274607384' title=''/><author><name>liancheng</name><uri>http://www.blogger.com/profile/13567239080256716067</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.think-async.com/2010/04/system-error-support-in-c0x-part-2.html' ref='tag:blogger.com,1999:blog-35024958.post-133372406710126340' source='http://www.blogger.com/feeds/35024958/posts/default/133372406710126340' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1634679750'/></entry></feed>
