02 2023 档案
摘要:chrono_time_point (三) 模板参数 template <class Clock, class Duration = typename Clock::duration> class time_point; std::chrono::time_point 表示一个具体时间,如上个世纪8
阅读全文
摘要:可变参模板 可变参函数模板 基本外观和介绍 #include<iostream> using namespace std; namespace detail1{ template <typename... N> //<1> void func(N... args) //<2> { cout << "
阅读全文