Team LiB
Previous Section Next Section

B

 

back

 

queue, 371

 

sequential container, 346

 

StrBlob, 457

 

back_inserter, 382, 402, 417

 

requires push_back, 382, 402

 

bad, 313

 

bad_alloc, 197, 460

 

bad_cast, 197, 826

 

bad_typeid, 828

 

badbit, 312

 

base, reverse iterator, 409

 

base class, 592, 649

 

see also virtual function

 

abstract, 610, 649

 

base-to-derived conversion, not automatic, 602

 

can be a derived class, 600

 

definition, 594

 

derived-to-base conversion, 597

 

accessibility, 613

 

key concepts, 604

 

multiple inheritance, 805

 

final, 600

 

friendship not inherited, 614

 

initialized or assigned from derived, 603

 

member hidden by derived, 619

 

member new and delete, 822

 

multiple, see multiple inheritance

 

must be complete type, 600

 

protected member, 611

 

scope, 617

 

inheritance, 617621

 

multiple inheritance, 807

 

virtual function, 620

 

static members, 599

 

user of, 614

 

virtual, see virtual base class

 

virtual destructor, 622

 

Basket, 631

 

add_item, 633

 

total, 632

 

Bear, 803

 

virtual base class, 812

 

before_begin, forward_list, 351

 

begin

 

associative container, 430

 

container, 106, 131, 333, 372

 

function, 118, 131

 

not with dynamic array, 477

 

multidimensional array, 129

 

StrBlob, 475

 

StrVec, 526

 

bernoulli_distribution, 752

 

best match, 234, 251

 

see also function matching

 

bidirectional iterator, 412, 417

 

biggies program, 391

 

binary (file mode), 319

 

binary operators, 134, 168

 

overloaded operator, 552

 

binary predicate, 386, 417

 

binary_function deprecated, 579

 

binary_search, 873

 

BinaryQuery, 637

 

abstract base class, 643

 

bind, 397, 417

 

check_size, 398

 

generates callable object, 397

 

from pointer to member, 843

 

placeholders, 399

 

reference parameter, 400

 

bind1st deprecated, 401

 

bind2nd deprecated, 401

 

binops desk calculator, 577

 

bit-field, 854, 862

 

access to, 855

 

constant expression, 854

 

bitset, 723, 723728, 769

 

[] (subscript), 727

 

<< (output operator), 727

 

any, 726

 

count, 727

 

flip, 727

 

grading program, 728

 

header, 723

 

initialization, 723725

 

from string, 724

 

from unsigned, 723

 

none, 726

 

reset, 727

 

set, 727

 

test, 727

 

to_ulong, 727

 

bitwise, bitset, operators, 725

 

bitwise operators, 152156

 

+= (compound assignment), 155

 

compound assignment (e.g., +=), 147

 

grading program, 154

 

operand requirements, 152

 

Blob

 

class template, 659

 

constructor, 662

 

initializer_list, 662

 

iterator parameters, 673

 

instantiation, 660

 

member functions, 661662

 

block, 2, 12, 26, 173, 199

 

function, 204

 

scope, 48, 80, 173

 

try, 193, 194, 200, 818

 

block (/* */), comment, 9, 26

 

book from author program, 438440

 

bookstore program

 

Sales_data, 255

 

using algorithms, 406

 

Sales_item, 24

 

bool, 32

 

conversion, 35

 

literal, 41

 

in condition, 143

 

boolalpha, manipulator, 754

 

brace, curly, 2, 26

 

braced list, see list initialization

 

break statement, 190, 199

 

in switch, 179181

 

bucket management, unordered container, 444

 

buffer, 7, 26

 

flushing, 314

 

buffer overflow, 105, 116, 131

 

array parameter, 215

 

C-style string, 123

 

buildMap program, 442

 

built-in type, 2, 26, 3234

 

default initialization, 43

 

Bulk_quote

 

class definition, 596

 

constructor, 598, 610

 

derived from Disc_quote, 610

 

design, 592

 

synthesized copy control, 623

 

byte, 33, 78

 
Team LiB
Previous Section Next Section