Index
P
pair template class,
263
,
296
,
326–327
Parameters,
19
,
26–27
default values for,
22
pointer,
27–28
reference,
28–29
to main( ),
26
partial_sort( ) algorithm,
297
partial_sort_copy( ) algorithm,
297–298
partition( ) algorithm,
298
peek( ),
226
,
252
perror( ),
110
pin,
341
POD (Plain Old Data),
8
Pointer(s)
file,
97
to functions, passing,
27–28
generic,
93
get and put,
228
,
232
,
256
,
259
operators (& and *),
28
,
29
,
41–42
restrict-qualified,
13
,
80–81
Pointer-to-member operators (.* and –>*),
47–48
pointer type,
266
,
311
Polymorphism, runtime,
32
,
93
pop_heap( ) algorithm,
298
pos_type data type,
243
,
256
,
259
pow( ),
156
,
167
#pragma,
56–57
_Pragma operator,
56
Pragmas, C99 built-in,
56–57
precision( ),
226
,
252
Predicate functions,
263
Preprocessor
directives,
51–57
operators (# and ##),
57–58
,
77
prev_permutation( ) algorithm,
298–299
printf( ),
110–113
priority_queue container,
265
,
281
member functions, table of,
281–282
private keyword,
6
,
7
,
8
,
9
,
77
_ _property,
341
protected keyword,
5
,
6
,
7
,
9
,
64
,
78
Prototypes, function,
22–23
ptrdiff_t type,
113
,
119
,
289
public keyword,
5
,
6
,
7
,
64
,
79
push_heap( ) algorithm,
299
put( ),
226
,
254
Put pointer,
228
,
232
,
256
,
259
putback( ),
227
,
254
putc( ),
113
putchar( ),
114
puts( ),
113