/*
以下是 Generic programming and C++ STL 课程的主题与时数。
细分为 "STL 应用" 和 "泛型设计思维" 两个子题。
一般而言,主题如下所列。因应学员的程度不同及需求不同,则有不同的
上课方式与进度,时数也将因此有所调整。因此,可能调整开出 6 小时、
12 小时、18 小时、或 24 小时的课程。一个课程的成功,教学双方的
课前沟通占重要因素。通常我喜欢为要课单位量身打造课程,这很难在
主题的规划上看出端倪,因为主题基本不变。所谓「量身打造」主要是在
上课时根据学员的反应,逐渐修正上课的方向、进度、焦点。
课程一:STL(Standard Tempalte Library)应用
时数:9 小时
适合对象:对一般之 C++ 语法已经熟悉。欲使用 STL 做为程式设计辅助工具。
教材:通常我会选一本书为主要行进依据,再辅以讲义。
课程主题:
◎STL Resources, Bibliography
◎functions template, argument deduction.
◎classes template
◎members template
◎operator overloading:operator(), operator*, operator->, operator++ ...
◎STL Containers
◎STL Algorithms
◎STL Iterators
◎STL Function Objects
◎STL Adaptors
◎STL Allocator
课程二:Generic Programming(泛型程式设计思维)in C++
时数:15 小时
适合对象:已经熟悉 STL 的运用,希望更掌握 STL 的学理,进而设计 STL Components.
教材:通常我会选一本书为主要行进依据,再辅以讲义。
课程主题:
◎History and Overview
◎Concept, Modeling, Refinement.
◎Iterators Traits
◎case study : Containers
◎case study : Algorithms
◎case study : Iterators
◎case study : Function Objects
◎case study : Adaptors
◎case study : Allocators
◎Advantage v.s Disadvantage
-- the end
*/