摘要:
在模板函数里面,一个函数里面你想一个T typ同时赋值多种类型时,编译器肯定会提示无法转换的问题,即使使用static_cast也只能同类型的进行转换。 T typ; typ = 3; typ = "abc"; //这里会提示问题error:cannot convert ‘std::string’ 阅读全文
摘要:
$ wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz $ tar -xzf openssl-1.1.1k.tar.gz$ cd openssl-1.1.1k$ ./config$ make $ sudo make install$ s 阅读全文