Foundational concepts to STL

3 Concepts

Containers

Iterators

Categories of Iterators (pg 401)

Vectors can be initialized with iterators!

Predicate - something that is not affected by variables other than input

Containers in STL 1. std::vector

2. std::list

STUFF TO NOTE ABOUT CONTAINERS

1. Half-ranges: Iterator pointing to the first element and one past the last element.
while(begin!=end)
Containers use value not reference semantics; this means deep copy not shallow copy.

2. Elements have a specific order

3. No safety guaranteed.