Algorithms
Detailed Description
STL algorithms are the heart of generic programming. The idea is to separate algorithms from containers to take advantage of the fact that there are fewer distinct algorithms than typed containers. This is diametrically opposed to object oriented programming, where each object must contain all functionality related to its internal data. You will find, I think, that in practice, generic programming is not terribly convenient because it prevents you from encapsulating all your data. The best approach is to compromise and have raw data classes that will be manipulated by algorithms and to treat the rest of the objects as stateful data transformers.
Generated on Mon Jan 17 14:35:02 2005 for uSTL by 1.3.9