Lecture Notes for CS 509

8 October 2002 - Introduction to Generic Algorithms


Generic Algorithms


Generic Algorithms


Containers vs. Data Sequences


Why Use Generic Algorithms?


Generic Algorithm Categories


Non-Mutating Algorithms


Generalized Numeric Algorithms


Mutating Algorithms


The Mutating Algorithm Trap


Order-Related Algorithms


Order-Related Algorithm Traps


Naming Conventions


When to Use Generic Algorithms


Generic Algorithms vs. Member Functions


Points to Remember


This page last modified on 16 October 2002.