Skip to content

E

echo command, 4

ECMAScript, 730, 739

  • regular expression library, 730

edit-compile-debug, 16, 26

  • errors at link time, 657

element type constraints, container, 329, 341

elimDups program, 383391

ellipsis, parameter, 222

else, seeif statement

emplace

  • associative container, 432

  • priority_queue, 371

  • queue, 371

  • sequential container, 345

  • stack, 371

emplace_back

  • sequential container, 345

  • StrVec, 704

emplace_front, sequential container, 345

empty

encapsulation, 254, 306

  • benefits of, 270

end

end-of-file, 15, 26, 762

  • character, 15

Endangered, 803

endl, 7

  • manipulator, 314

ends, manipulator, 315

engine, random-number library, 745, 770

enum, unscoped enumeration, 832

enum class, scoped enumeration, 832

enumeration, 832, 863

  • as union discriminant, 850

  • function matching, 835

  • scoped, 832, 864

  • unscoped, 832, 864

  • conversion to integer, 834

  • unnamed, 832

  • enumerator, 832, 863

  • constant expression, 833

  • conversion to integer, 834

eof, 313

eofbit, 312

equal, 380, 872

equal virtual function, 829

equal_range

  • algorithm, 722, 873

  • associative container, 439

equal_to<T>, 575

equality operators, 141

  • arithmetic conversion, 144

  • container adaptor, 370

  • container member, 340

  • iterator, 106

  • overloaded operator, 561

  • pointer, 120

  • Sales_data, 561

  • string, 88

  • vector, 102

erase

  • associative container, 434

  • changes container size, 385

  • invalidates iterator, 349

  • sequential container, 349

  • string, 362

error, standard, 6

error_type, 732

error_msg program, 221

ERRORLEVEL, 4

escape sequence, 39, 79

  • hexadecimal (\Xnnn), 39

  • octal (\nnn), 39

eval function

exception

exception handling, 193198, 772, 817

  • see alsothrow

  • see alsocatch

  • exception declaration, 195, 775, 816

  • and inheritance, 775

  • must be complete type, 775

  • exception in destructor, 773

  • exception object, 774, 817

  • finding a catch, 776

  • function try block, 778, 817

  • handler, seecatch

  • local variables destroyed, 773

  • noexcept specification, 535, 779, 817

  • nonthrowing function, 779, 818

  • safe resource allocation, 467

  • stack unwinding, 773, 818

  • terminate function, 196, 200

  • try block, 194, 773

  • uncaught exception, 773

  • unhandled exception, 196

exception object, 774, 817

  • catch, 775

  • conversion to pointer, 774

  • initializes catch parameter, 775

  • pointer to local object, 774

  • rethrow, 777

exception safety, 196, 200

  • smart pointers, 467

exception specification argument, 780

  • generalized, deprecated, 780

  • noexcept, 779

  • nonthrowing, 779

  • pointer to function, 779, 781

  • throw(), 780

  • violation, 779

  • virtual function, 781

executable file, 5, 251

execution flow

EXIT_FAILURE, 227

EXIT_SUCCESS, 227

expansion

explicit

  • constructor, 296, 306

  • copy initialization, 498

  • conversion operator, 582, 590

  • conversion to bool, 583

explicit call to

  • destructor, 824

  • overloaded operator, 553

  • postfix operators, 568

explicit instantiation, 675, 713

explicit template argument, 660, 713

  • class template, 660

  • forward, 694

  • function template, 682

  • function pointer, 686

  • template argument deduction, 682

exporting C++ to C, 860

expression, 7, 27, 134, 168

expression statement, 172, 200

extension, compiler, 114, 131

extern

  • and const variables, 60

  • explicit instantiation, 675

  • variable declaration, 45

extern 'C', seelinkage directive