V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  cxiaobao  ›  全部回复第 1 页 / 共 1 页
回复总数  5
23 天前
回复了 opentrade 创建的主题 推广 RustDesk 即将突破 100K stars
特地登录上来一下,感谢大佬,一直在用,非常棒。
66 天前
回复了 piller 创建的主题 生活 陌生人祝我一声生日快乐吧
生日快乐!
211 天前
回复了 hwdq0012 创建的主题 C++ c++调试遇到奇怪问题
template <class T>
1018 static inline std::unique_ptr<T> fromJsonString(const std::string&& str)
1019 {
1020 std::unique_ptr<T> model = std::make_unique<T>();
1021 privates::jsonType<T>::type::from_jsonStr(std::move(*model), std::move(str), 0, static_cast<int>(str.length() - 1));
1022 ~~~~~~~~~~~~~~ model 是移动语义进入 from_jsonStr 方法的,如果 from_jsonStr 取走了数据所有权,model 会被清空
1023 return model;
~~~~~~~~~ 这里不应该返回 model ,因为 model 可能已经被清空了,
通常,from_jsonStr 应该返回一个对象,这个对象取得了原本 model 中的数据,应该考虑返回这个对象
1024 }
344 天前
回复了 tianwm 创建的主题 云计算 阿里云不讲武德啊, 轻量香港被限速到 7Mbps
才注意到,真的被限制了。
2024-09-20 15:14:06 +08:00
回复了 cainiaochaocai 创建的主题 NAS 自组 NAS,求指点
畅网 n100 开发板(带 m2 一转 4 ):750
M2 转 6 口 SATA:100
3D 打印 NAS 机箱(带 2.5 盘位 x2 ):300
6 盘位 QNAS 背板:250
9 寸散热风扇 x2: 50

3.5 x 6 + 2.5 x 2 + M2 x 4
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2775 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 02:37 · PVG 10:37 · LAX 18:37 · JFK 21:37
♥ Do have faith in what you're doing.