Section 21.17 Vocabulary
- associative container
- A container in which elements are accessed by key values rather than by position. Examples include
setandmap. - container
- dictionary
- Another name for a
map, an associative container that stores key-value pairs. - functor
- An object that can be treated as if it is a function, typically by defining the
operator()method. - key
- lambda
- An anonymous function defined using the
[]()syntax, often used for short, inline functions. - map
- An associative container that stores key-value pairs. The keys are unique and used to look up their associated values. Also known as a dictionary.
- random access
- The ability to access any element in a container directly using its index or key, without needing to traverse other elements first. Examples of containers that support random access include
vectorandmap. - regular expression
- A sequence of characters that defines a search pattern, often used for string matching and manipulation.
- set
- An associative container that stores unique elements.
- sequence container
You have attempted of activities on this page.
