突然發現一個 Open source 的 project. 叫做 uSTL. 號稱是最小的 STL implemention.
C++ 中的多型, 在 C 裡基本上就是使用 function pointer 去實作.
例如