inline 向 compiler 保證 , 你不管看到幾次 這個 function , 它的內容都一樣 !!
還有建議 compiler 將內容 "插入" 呼叫它的 function , compiler 可以選擇接受 or not !!
inline 向 compiler 保證 , 你不管看到幾次 這個 function , 它的內容都一樣 !!
還有建議 compiler 將內容 "插入" 呼叫它的 function , compiler 可以選擇接受 or not !!
這個例子只能用 c++11 , c++0x compiler 會失敗 !!!
class Mars
{
alloca allocate memory on stack , 有以下優點 :
• There is very little overhead to the allocation process because the microprocessor
class student
{
struct People_
{
#include <stdio.h>
#include <stdbool.h>