Amethyst Studio
应该要有价值思维
你去餐馆吃法是因为饭菜好吃,环境优雅,价格公道,而不是因为这家店的厨师毕业于清华大学,至少第二次不是。
1679 words
|
8 minutes
Cover Image of the Post
lambda演算简单入门
lambda演算是20世纪30年代由Alonzo Church提出的一种计算模型,这种计算模型在计算理论,类型论和函数式编程中都得到了广泛应用。是思考计算问题的一个很好用的工具。本篇博客来简单介绍一下这个模型。
1902 words
|
10 minutes
Cover Image of the Post
利用Antlr4辅助重构代码
重构代码一直是一件消耗人力的事,不过如果把代码重构理解为语言语法树的重构,那么很多问题上会省力很多。
3026 words
|
15 minutes
Cover Image of the Post
C++完美转发的细节
2024-06-23
完美转发机制是弄明白C++ functional的关键问题,这里对这个机制,包括引用的传递,折叠等问题做一个详细的解释。
2633 words
|
13 minutes
Cover Image of the Post
C++自定义中缀运算符
2024-06-02
C++编程中,借助运算符重载特性,可以自定义中缀运算符。
894 words
|
4 minutes
Cover Image of the Post
C++编译期归并排序
C++中利用模板元编程在编译期实现归并排序
1683 words
|
8 minutes
Cover Image of the Post
C++编译期快速排序
实现一个快速排序,不过要在编译期完成
1804 words
|
9 minutes
Cover Image of the Post
C++编译期插入排序
C++中实现插入排序,但是需要是在编译期完成这个动作
2329 words
|
12 minutes
Cover Image of the Post