[first slide]
Introduction to Object Oriented Programming
Chapter 16
A Case Study : The STL
Outline
- What is the STL?
- Generic Algorithms versus Encapsulation
- Iterators
- How do you describe a range of values
- Begin and End
- What must iterators do
- Iterator Operations
- Function Objects
- Why do this?
- Example Program-Inventory System
- Inventory
- Item Arrives in Shipment
- Item Arrives on Order
- Function Objects
- Maps, indexed data structures
- The Graph Being Represented
- Representing a Distance
- Shortest Path Algorithm
- The Future of OOP
Other Material