06 2021 档案
摘要:用过python 的同学都知道 functools.partial 和 lambda 可以实现绑定, 这在线程池调用很有用。 下面看看C++ 与python 的实现对比 #include <iostream> #include <functional> int fun(int a, int b, i
阅读全文
摘要:#include<iostream> using namespace std; struct student { string name; int age; int score; }; class A{ public: A() { s = { "张三",30,80 }; } student Get(
阅读全文
摘要:概述 Git 原生的sumodules 功能无法实现将子模块存放在父级目录, 而放入子目录时候会存在多份代码,交叉依赖的问题。所以需要搭建一个脚本工具来解决多个模块之间的依赖关系。 解决模块依赖 通过配置文件指定git 仓库url、名称、分支、版本 支持解析原生的.gitmodules 文件 (优先
阅读全文

浙公网安备 33010602011771号