字体:
If you prefer void * for different types of elements in your data structure, and cast it back/forth in your applications, then enjoy it! I enjoy one genric code with template and "template <typename T>" [#2874664@0 -ROLIA.NET 相约加拿大网上社区 之 枫下论坛 & 枫下部落, 枫下论坛主坛 ]

If you prefer void * for different types of elements in your data structure, and cast it back/forth in your applications, then enjoy it! I enjoy one genric code with template and "template <typename T>"

by super_unknown (mailman) at 2006.3.30 18:04 (#2874664@0)
let alone the superiority of template compile-time strong type checking to the error prone C style run time pointer casting.

该话题已在历史区内,不能被修改或回复。       收藏    投诉
关闭窗口