Skip to content

败犬日报 2025-06-13

1. 本地没有 riscv rvv intrinsic 的部分函数

翻一下 gcc release notes https://www.gnu.org/software/gcc/gcc-14/changes.html

2. 什么时候写 [[nodiscard]]

libc++ 用 [[nodiscard]] 的规则。

https://libcxx.llvm.org/CodingGuidelines.html#apply-nodiscard-where-relevant

3. 显式实例化 + 友元注入那套魔法能偷到私有类型吗

https://zhuanlan.zhihu.com/p/646752343 的 access private 章节。