Pure virtual templated member function

Started by
9 comments, last by Oxyd 20 years ago
You can do C++ generic programming with the templated version.
Consider boost's lexical_cast.

You could also return a base ISymbol* and use co-variant return types in the derived classes.

[edited by - Magmai Kai Holmlor on April 4, 2004 10:22:20 PM]
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement