Loading

摘要: inline inline是C++提供的一个关键字,它用于函数定义之前,表示把函数定义为内联函数。内联函数的含义是:在函数调用点把函数体直接展开,取代函数调用。 inline int getZero() { return 0; } int a = getZero(); 如果上述函数没有定义为inli 阅读全文
posted @ 2019-09-15 14:07 Vel'Koz 阅读(976) 评论(1) 推荐(1) 编辑