seekp() method, 1134–1136
selecting smart pointers, 977–978
sell() function, 516
semantics, move semantics, 1164–1165, 1168–1171
observations, 1171–1172
semicolon (), 29–30
sending messages, OOP, 518
sentinel characters, 234
separate compilation, 447–449, 453
sequence points, 208–209
sequence requirements, container concepts, 1011–1012
sequences
mutating sequence operations
copy_backward() function, 1294–1297
copy() function, 1293–1296
fill() function, 1294, 1299
fill_n() function, 1294, 1299
generate() function, 1294, 1299
generate_n() function, 1294, 1299
iter_swap() function, 1294
partition() function, 1295, 1302–1303
random_shuffle() function, 1295, 1302
remove_copy() function,1295, 1300
remove_copy_if() function, 1295, 1300
remove_if() function, 1295, 1300
remove() function, 1295, 1299
replace_copy() function, 1294, 1298
replace_copy_if() function, 1294, 1298
replace() function, 1294, 1298, 1302
replace_if() function, 1294, 1298
reverse_copy() function, 1295, 1301
reverse() function, 1295
rotate_copy() function, 1295, 1302
rotate() function, 1295, 1301
stable_partition() function, 1295, 1303
swap() function, 1294, 1297
swap_ranges() function, 1294, 1297
transform() function, 1294, 1297
unique_copy() function, 1295, 1301
unique() function, 1295, 1300
nonmodifying sequence operations
adjacent_find() function, 1287, 1290
count() function, 1287, 1291
count_if() function, 1287, 1291
equal() function, 1288, 1291–1292
find_end() function, 1287–1290
find_first_of() function, 1287, 1290
find() function, 1287–1289
find_if() function, 1287–1289
for_each() function, 1287–1289
mismatch() function, 1288, 1291
search() function, 1288, 1292–1293
search_n() function, 1288, 1293
set associative containers, 1019–1022
set flag.
set_difference() function, 1021, 1305, 1313
set_intersection() function, 1021, 1305, 1312
set() method, 596, 820
set operations
includes() function, 1305, 1311
set_difference() function, 1305, 1313
set_intersection() function, 1305, 1312
set_symmetric_difference() function, 1305, 1313
set_union() function, 1305, 1312
set_symmetric_difference() function, 1305, 1313
set_terminate() function, 928
set_tot() function, 517–518
set_unexpected() function, 929
set_union() function, 1020–1021, 1305, 1312
setf.cpp, 1085
setf2.cpp, 1088
setf() function, 1083–1087, 1090
arguments, 1087–1089
manipulators, 1090–1091
setf() method, 408
setfill() function, 1091
setops.cpp, 1021–1022
setprecision() function, 1091
sets
methods, 1281–1284
set operations
includes() function, 1305, 1311
set_difference() function, 1305, 1313
set_intersection() function, 1305, 1312
set_symmetric_difference() function, 1305, 1313
set_union() function, 1305, 1312
setstate() stream state method, 1098–1102
setw() function, 1091
shallow copying, 640
shared friends, 888–889
shift operators, 1235–1237
overloading, 581–587
short data type, 68–70
show(), array objects, 357
show_array() function, 327–328
Show() function, 818–820
show() method, 514, 537
show_polar() function, 347, 351
show_time() function, 344–345
showbase manipulator, 1090
showperks() function, 744
showpoint manipulator, 1091
showpos manipulator, 1091
showpt.cpp, 1084
SHRT_MAX constant, 72
SHRT_MIN constant, 72
side effects of expressions, 201, 208–209
signatures (functions), 413
signed char data type, 88–89
singly linked lists, 680
size, string size
finding, 960
automatic sizing feature, 966–967
size() function, 136, 960
size() method, 509, 787, 981, 984, 1251–1252, 1275
size_type constant, 1251
size_type type, 1250, 1273