跳轉到內容
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Help
Browse
Cookbook
Wikijunior
Featured books
Recent changes
Random book
Using Wikibooks
Community
Reading room forum
Community portal
Bulletin Board
Help out!
Policies and guidelines
Contact us
Search
Search
Donations
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Discussion for this IP address
C++ 語言/模板/模板類
Add languages
Add links
Book
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Sister projects
Wikipedia
Wikiversity
Wiktionary
Wikiquote
Wikisource
Wikinews
Wikivoyage
Commons
Wikidata
MediaWiki
Meta-Wiki
Print/export
Create a collection
Download as PDF
Printable version
In other projects
外觀
移至側邊欄
隱藏
來自 Wikibooks,開放的書籍,為一個開放的世界
<
C++ 語言
|
模板
C++ 語言
概述
預處理
宏
標記化
預處理字串
編譯時常量
編譯時斷言
條件編譯
名稱空間
名稱空間快捷方式
巢狀
跨檔案拆分
命名和未命名
型別
匈牙利字首
布林值
字面量
位表示
最大值
轉換
列舉
快捷方式
變體
RTTI:執行時型別資訊
變數
生命週期和作用域
初始化
統一初始化
在沒有建構函式的情況下初始化
分解-auto
在定義型別時定義
間接定址
指標
型別化的 NULL
陣列
引用變數
右值引用
智慧指標
表示式
優先順序
賦值鏈
程式流程
迴圈
break 語句
返回值
引數
函式過載
函式指標
棄用函式
物件
可訪問性
不需要的編譯器生成的函式
建構函式
解構函式
常量成員
靜態成員
繼承
運算子過載
巢狀類
指向成員的指標
低階 C 結構體
模板
模板函式
模板類
模板變數
模板引數
特徵
超程式設計
概念
錯誤處理
返回錯誤程式碼
斷言
C++ 異常處理
標準庫
C 執行時庫
STL:標準模板庫
字串
IO 流
檔案系統訪問
多執行緒
RNG:隨機數生成器
已棄用的功能
如果一個類被編寫為模板,那麼它所有的成員都共享這種共同的抽象,並且一起被集體專門化。
關於模板類的其他資訊
分類
:
書籍:C++ 語言
華夏公益教科書