$V2EX
Solana
Give SOL to Copy Address
使用 SOL 向 chrisyunhua 打赏,数额会 100% 进入 chrisyunhua 的钱包。
 chrisyunhua's recent timeline updates
chrisyunhua

chrisyunhua

V2EX member #229754, joined on 2017-05-08 19:24:17 +08:00
Per chrisyunhua's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
chrisyunhua's recent replies
好看,爱看,多发点
拍的好好看,博客也好看,还能切换 HDR ,赞!
Aug 9, 2025
Replied to a topic by Lin0936 Apple Apple 账号登录系统挂了?
还是登不了。
Unexpected response from IDMS server
Aug 6, 2024
Replied to a topic by Betsy C++ 求教个神奇的 C++ 打印问题
去掉 & 改为 `const ReducedGroupId id = ...` 也可以。

@Betsy 不用 optional 没问题,我的理解是:因为 GetReducedGroupId() 属于 prvalue ,赋给 const & 时触发了 lifetime extension ;而 optional.value() 返回类型是 const & 属于 lvalue ,不触发 lifetime extension 。

https://en.cppreference.com/w/cpp/language/lifetime
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2470 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 00:45 · PVG 08:45 · LAX 17:45 · JFK 20:45
♥ Do have faith in what you're doing.