make_shared函数
听说可以提高安全性 auto new_task = make_shared<DetectTask>(this, TaskId, CallParam, this)…
听说可以提高安全性 auto new_task = make_shared<DetectTask>(this, TaskId, CallParam, this)…
#include "json.h" Json::Value jsobj; LOG_TRACE("rst:%s",outParam.toStyled…
struct timeval time; gettimeofday(&time, NULL); long start_time = time.tv_sec*1000 + time.t…
最简单的写法 main.cpp #include<iostream> void example_func() { // pass } int main…