Skip to content

败犬日报 2025-08-22

1. 函数参数是 const int

有用,可以确保函数内不修改,就和一般的 const int 变量一样。返回值是 const int 才是迷惑行为。