lua的__index提供便利的单继承功能
I said earlier that, when we access an absent field in a table, the result is nil. This is true, but it is not the whole truth. Actually, such access triggers the interpreter to look for an __index me
翻译
2017-12-16 14:30:14 ·
169 阅读 ·
0 评论