thanks for the great explanation and quick response..
could you give some places where templates, both class and function would be used. other than containers.
should the 'size_t n' variable you created in the class template example be 'int n'??
how is the generics implementation in .net?
i am basically trying to gear up for java 1.5. the examples i saw were using generics for containers. so other than casting, i did not notice any great advantages. what else do you guys think are the advantages?
No comments:
Post a Comment