摘要:
//model/*.cppvoid util::invoke_pass_func(const int& x,const int& y) { std::cout<<"x="<<x<<",y="<<y<<std::endl; int sum=pass_func(x,y,&add); std::cout< 阅读全文
摘要:
void util::split_string_demo() { std::string str=get_uuid(); std::string delimiter="-"; std::vector<std::string> vec; split_string(str,delimiter,vec); 阅读全文
摘要:
#include <chrono> #include <functional> #include <iomanip> #include <iostream> #include <sstream> #include <thread> #include <unistd.h> std::string ge 阅读全文
摘要:
//model/book.cpp void book::operator=(const book &bk){ std::cout<<std::endl<<std::endl<<std::endl<<"Called operator assignment overloaded!" <<std::end 阅读全文
摘要:
//book.h #pragma once #ifndef __book_h__ #define __book_h__ #include <functional> #include <iostream> class book { public: book(const std::uint64_t& i 阅读全文
摘要:
//model/book.h #pragma once #include <iostream> using namespace std; class book { public: book() = default; ~book() = default; book(const book &bk) = 阅读全文
摘要:
//model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i 阅读全文
摘要:
//model/util.cpp void util::time_demo() { static uint64_t num=0; chrono::time_point<chrono::high_resolution_clock> now = chrono::high_resolution_clock 阅读全文
摘要:
//model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i 阅读全文
摘要:
//model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i 阅读全文