<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[wolf_cgl的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/tinywolfcgl</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; tinywolfcgl]]></copyright><item><title><![CDATA[switch 结构的 fall through]]></title><link>https://blog.youkuaiyun.com/tinywolfcgl/article/details/54094029</link><guid>https://blog.youkuaiyun.com/tinywolfcgl/article/details/54094029</guid><author>tinywolfcgl</author><pubDate>Thu, 05 Jan 2017 16:00:01 +0800</pubDate><description><![CDATA[今天在LevelDB的源码~/util/hash.cc中看到一段： 
　　// The FALLTHROUGH_INTENDED macro can be used to annotate implicit fall-through
// between switch labels. The real definition should be provided externally.
// This]]></description><category></category></item><item><title><![CDATA[C++ STL容器遍历删除元素的方法]]></title><link>https://blog.youkuaiyun.com/tinywolfcgl/article/details/53463857</link><guid>https://blog.youkuaiyun.com/tinywolfcgl/article/details/53463857</guid><author>tinywolfcgl</author><pubDate>Mon, 05 Dec 2016 11:49:42 +0800</pubDate><description><![CDATA[C++ STL容器遍历删除元素的方法　　上周在做内存池回收的时候，遍历deque（使用了双端队列来管理内存块）的每一个元素，查找满足条件的内存块并进行回收，结果竟然coredump了。 
　　写了个简单的测试代码：#include <deque>
#include <algorithm>
#include <iostream>
using namespace std;int main()
{]]></description><category></category></item></channel></rss>