摘要:
1. value metafunction #include <assert> template<int X> struct IntIdentity { static constexpr int my_value = X; }; int main() { static_assert(42 == In 阅读全文
摘要:
typedef struct InterruptCB { int (*callback)(void*); void *opaque; } InterruptCB; class Parse{ public: static int InterruptCallBack(void* ctx) { Parse 阅读全文
摘要:
1、dirs 显示当前目录栈中的所有记录 语法 (1)格式:dirs [-clpv] [+n] [-n] (2)选项 -c 删除目录栈中的所有记录 -l 以完整格式显示 -p 一个目录一行的方式显示 -v 每行一个目录来显示目录栈的内容,每个目录前加上的编号 +N 显示从左到右的第n个目录,数字从0 阅读全文