[問題] typedef? scope?
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Linux G++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
最近再看code
一般我懂下面這樣
typedef A::B B;
但是在看code有看到人家寫
typedef ::B B;
請問這該怎麼解讀呢?
翻書跟google有點不知道怎麼下手,找不太到資訊,
煩請前輩指點~~
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.187.212
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1430557133.A.FD3.html
→
05/02 17:00, , 1F
05/02 17:00, 1F
→
05/02 17:15, , 2F
05/02 17:15, 2F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章