看下面的例子
#include<type_traits>
// define a class template, and the template parameter is a value of bool。by default,this class is empty, doesnt define any member
template<bool Condition>
struct lfEnableIf
{ };
// specialize the above clas…
背景
这几天在二开ffmpeg,发现用cursor无法使用cppdbg进行调试,只能上机gdb,比较麻烦。
配置文件
// launch.json
{// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// Fo…