Skip to content

败犬日报 2025-09-13

1. 参数传函数应该用什么函数类型

按顺序应该是模板、函数指针、std::function_ref、std::move_only_function、std::function。