O

On the Tension Between Object-Oriented and Generic Programming in C++

🌐 访问网站
📝 描述
Discusses how the use of generic programming in C++ can lead to conflicts with object-oriented design principles. Also demonstrates how a technique known as type erasure can often be used to resolve theseconflicts. An in-depth example is presented: any_iterator, a type-safe,heterogeneous C++ iterator.
⭐ 用户评价

暂无评价


发表评价