Open utterances-bot opened 4 years ago
注:本文所使用编译器均为gcc4.1.2,即只能使用C++98标准。 背景123456789101112131415161718struct Node { int mRow; int mCol; int mValue; Node(int row, int col, int value) : mRow(row), mCol(col), mValue(v
http://fuzhe1989.github.io/2018/07/22/cpp-use-mixin-to-get-better-performance/
test
C++:使用mixin获得比继承+组合更好的性能 | Fu Zhe's Blog
注:本文所使用编译器均为gcc4.1.2,即只能使用C++98标准。 背景123456789101112131415161718struct Node { int mRow; int mCol; int mValue; Node(int row, int col, int value) : mRow(row), mCol(col), mValue(v
http://fuzhe1989.github.io/2018/07/22/cpp-use-mixin-to-get-better-performance/