最近用vim写lua代码,发现由于ctags对lua支持不友好, 很多lua的符号都不能跳转 表现在1) ctags默认对lua的支持仅限于识别function, 不支持识别常量定义.2) 如果通过CLASS:MEMBER_FUN(...)方式以及CLASS.MEMBER_FUN()方式定义的fun...
分类:
其他好文 时间:
2014-09-15 15:52:19
阅读次数:
186
(ISO/IEC 14882:2011 section 12.7.4):Member functions, including virtual functions (10.3), can be called during construction or destruction (12.6.2).Wh...
分类:
编程语言 时间:
2014-09-13 00:40:34
阅读次数:
382
Problem Description
The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book:
Tout avait Pa...
分类:
其他好文 时间:
2014-09-12 10:16:23
阅读次数:
245
At the time the Story of My Life was published, the idea of a disabled person as an active member of society was radical. Through there were institute...
分类:
其他好文 时间:
2014-09-12 01:11:42
阅读次数:
268
1 类中的属性又叫成员变量(member variable),属性用英文(property)或者attribute2 对象(Object) 又叫做实例(Instance)。生成一个对象的过程叫做对象的实例化3 面向对象编程中命名的约定:(a) 类:首字母大写,如果一个类名由多个单词构成,那么每个单词...
分类:
编程语言 时间:
2014-09-12 01:06:52
阅读次数:
155
将某个组中的账户移动到新的OU下#定义组名$groupname = "testg"#定义新的OU名称$newou = "OU=oo,OU=Admins,dc=ddv,dc=com"$members = (get-adgroup $groupname -properties member).membe...
分类:
移动开发 时间:
2014-09-11 19:19:42
阅读次数:
184
member函数用法很奇怪,用一个元素到list中查找,如果找到,则将找到的元素和之后所有元素变成一个新的list返回,如果找不到则返回nil.(set 'aList '(a b c d e f g h)) → (a b c d e f g h)
(member 'd aList) → (d e f g h)
(member 55 aList) ...
分类:
其他好文 时间:
2014-09-07 23:52:26
阅读次数:
339
const int x=4;int& y = const_cast(x);++y;这时访问x,x会是多少呢?根据C++11标准7.1.6.1.4:Except that any class member declared mutable (7.1.1) can be modified, any at...
分类:
编程语言 时间:
2014-09-05 14:17:11
阅读次数:
217
考查,最高位有进位 1 class Solution { 2 public: 3 vector plusOne(vector &digits) { 4 // IMPORTANT: Please reset any member data you declared, as 5 ...
分类:
其他好文 时间:
2014-09-04 23:36:30
阅读次数:
256
原文地址:http://www.cplusplus.com/reference/thread/thread/joinable/
public member function
std::thread::joinable
bool joinable() const noexcept;
Check if joinable
Returns whether the th...
分类:
编程语言 时间:
2014-09-04 19:04:30
阅读次数:
305