04 2020 档案
摘要:qSetMessagePattern("[%{appname} %{type} %{time [yyyy-MM-dd hh:mm:ss]} %{file} LINE[%{line}] %{function}]: %{message}"); qInfo() << "hello"; qDebug() <
阅读全文
摘要:template<typename T> using Vec = std::vector<T, MyAlloc<T>>; //then:; Vec<int> coll; // is equivalent to: std::vector<int, MyAlloc<int>> coll; // 使用宏m
阅读全文
摘要:#include <cstdio> #include <iostream> #include <tuple> #include <vector> #include <complex> using namespace std; void print(initializer_list<int> list
阅读全文