摘要:
先熟悉set的find原理 http://www.cnblogs.com/Clingingboy/p/3252136.html 这个类改造下,还是非常实用的,可以对于不同的类型做数据存储 一.ViewProp // Copyright (c) 2011 The Chromium Authors. All rights reserved.// Use of this source co... 阅读全文
随笔档案-2013年08月
C++ STL set::find的用法
2013-08-12 00:02 by Clingingboy, 17115 阅读, 收藏, 编辑
摘要:
参考: http://blog.csdn.net/lihao21/article/details/6302196 /* class for function predicate * - operator() returns whether a person is less than another person */ class PersonSortCriterion {... 阅读全文
chrome ui源码剖析-Accelerator(快捷键)
2013-08-06 00:19 by Clingingboy, 1123 阅读, 收藏, 编辑
摘要:
好久没有自己写东西了,chrome有着取之不尽的技术精华供学习,记录一下. 源码目录: http://src.chromium.org/viewvc/chrome/trunk/src/ui/base/accelerators/ 一.Accelerator 类 // This class describe a keyboard accelerator (or keyboard shor... 阅读全文