【转载】C++ inline 函数
摘要:(一)inline函数(摘自C++ Primer的第三版)在函数声明或定义中函数返回类型前加上关键字inline即把min()指定为内联。 inline int min(int first, int secend) {/****/}; inline 函数对编译器而言必须是可见的,以便它能够在调用点内...
阅读全文
posted @ 2014-07-01 01:48
posted @ 2014-07-01 01:48
posted @ 2014-07-01 01:07
posted @ 2014-07-01 00:58
posted @ 2014-07-01 00:50
posted @ 2014-07-01 00:42
posted @ 2014-07-01 00:39