C++ Standard Template Library: An Introduction

list critters; // create a list of critters. critters.insert ( critters.begin(), "antelope" ); ... map from ints to floats: map m; m[0] = 36.43; m[1] = -15.9; m[2] = 0.0; map from strings to ints: map age; age["Mary"] = 18; age["Bill"] = 22; Uses the notion of a "pair", where pair is a template used as: typedef pair value_type; For example ... ................
................