02 2021 档案
摘要:cpp cpp核心指导方真: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md cppreference 的中文版:https://www.bookstack.cn/read/cppreferen
阅读全文
摘要:1. 类成员函数转成std::function及lambda class MyClass{ pub: int Func(int a) {}; }; int main(void) { MyClass my_class; std::function<int(int a)> func_ = std::bi
阅读全文
摘要:cv::Mat image(msg->height, msg->width, CV_8UC1);; memcpy(image.data, msg->data, msg->height*msg->width); cv::Mat yu12(msg->height*3/2, msg->width, CV_
阅读全文
摘要:1. 批量添加目录: export PATH=$PATH$( find /usr/local/examples/ -type d -printf ":%p" ) export PATH=$PATH$( find /usr/local/examples/ -type d -printf ":%p" )
阅读全文