Nerseus
Danner
Ive been doing some work with C++ the last few weeks and Im really liking the idea of templated code. For example, you can write a template for a function named "swap" and define what it does, then use that swap function for ANY class you want. At compile time, the compiler substitutes in the class-specific version of the function/code for each class type, optimizing things for you.
Also, if you have a larger function than swap and need it for multiple class types, you dont have to rewrite it (only changing the class types).
Any word if any new version of C# (whidbey or its next version) have that support? I know its probably not high on their list, but seems like an easy thing for a compiler to do (I can say that since Im in the market of making compilers )
-nerseus
Also, if you have a larger function than swap and need it for multiple class types, you dont have to rewrite it (only changing the class types).
Any word if any new version of C# (whidbey or its next version) have that support? I know its probably not high on their list, but seems like an easy thing for a compiler to do (I can say that since Im in the market of making compilers )
-nerseus