Linked by Rüdiger Klaehn on Thu 5th Aug 2004 05:00 UTC
.NET (dotGNU too) One of the most awaited features of Microsoft .NET 2.0 is generics. Generics promise to increase type safety, improve performance, reduce code duplication and eliminate unnessecary casts. The most obvious application of generics in the framework class library are the generic collections in the new System.Collections.Generic namespace. Much has been written about those, but they are not the topic of this article.
Permalink for comment
To read all comments associated with this story, please click here.
Re: C# generics and C++ templates
by Scott S on Fri 6th Aug 2004 14:16 UTC

andy: Stroustrup wrote an interesting paper on the direction future C++ standards might go with concept checking. I read it a few months ago, so I can't recall the details, but I do remember being impressed with it, and thinking it was a more robust solution than what C# is doing.

Concept checking - A more abstract complement to type checking
http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2003/n1510.pdf