Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles Java Core Java

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

Author: artima.com | Published: 16th Oct 2007 | Visited: 149 times | Add Comment
Filed in: Core Java

The author discusses how the use of generic programming in C++ can lead to conflicts with object-oriented design principles. He demonstrates how a technique known as type erasure can often be used to resolve these conflicts. An in-depth example is presented: any_iterator, a type-safe, heterogeneous C++ iterator.

Read Article
 

Sponsored Links

 


Related Articles

 Speeding Up Object Instantiation Object instantiation is important for Ajax since it increases the loading time of its functions. Developers have to work with objects most of the time since the objects should be able to determine the behavior of the functions as well as its performance. However, the number of objects in an Ajax ap ...

 Service Oriented Java Business Integration Review  Service Oriented Java Business Integration Review Introduction If read through the texts which give you an introduction to SOA or Web Services, you will often find them to be quite frustrating, and the reason for this is because they spend too much time referencing business processes which are ela ...

 Article :: Understanding C# Object Serialization and Object Graphs Serialization isn't complex or difficult! Learn some powerful mechanisms for controlling and fine-tuning serializat ...

 Business object property validation How to set and validate properties in a single line of ...

 A more generic way of sorting a WPF ListView with IComparer Easy way of sorting the WPF ListView with a more generic me ...

 TLS: An exercise in concurrent programming A walkthough about multi-threading an app and a useful helper c ...

 Game Programming - One Introduction to the methods used to create a simple ...

 Game Programming - Two Introduction to the methods used to create a simple ...

 Next-Generation Object-Oriented Databases  Object-oriented databases complement relational databases in important ways, says Anat Gafni, VP of Engineering at db4objects, the company behind the open-source object database db4o. In this interview with Artima, Gafni explains how OO databases support agile development, and how they co-exist wit ...

 Game Programming - One Introduction to the methods used to create a simple ...



Next: Safe Labels in C++



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links