Index

Page entries in boldface refer to the page where the term is defined. Terms beginning with one or more underscores are indexed under their first letter.

abs, 265, 293, 511, 512, 517, 518

abstract class, 223

acos, 270, 294

acosh, 272, 296

algorithm, 81

alignment, 233

anchor, 362

arg, 293

arithmetic type, 219

<array> header, 94

array, 92–111

assign, 103

at, 100

back, 100

begin, 104

class array, 95

const_iterator, 106

const_pointer, 106

const_reference, 106

const_reverse_iterator, 106

data, 100

difference_type, 106

empty, 99

end, 104

front, 100

get, 94, 110

iterator, 106

max_size, 99

operator!=, 94, 109

operator<, 94, 109

operator<=, 94, 110

operator==, 94, 109

operator>, 94, 110

operator>=, 94, 110

operator[], 100

pointer, 106

rbegin, 104

reference, 106

rend, 104

reverse_iterator, 106

size, 99

size_type, 106

swap, 94, 103

tuple_element, 94, 111

tuple_size, 94, 111

value_type, 106

asin, 294

asin, 270

asinh, 272, 296

assign control, 24

assoc_laguerre, 281

assoc_legendre, 282

associative container, 88

atan, 270, 295

atan2, 270

atanh, 272, 296

auto_ptr, 32

back reference, 362

bad_function_call, 178

bad_weak_ptr, 60

basic_regex, 375, 384

bernoulli_distribution, 327

beta, 284

BinaryTypeTrait, 213

bind, 141, 191–203

_1, 193

additional arguments, 195

bind arguments, 200

extending, 203

is_bind_expression, 194, 203

is_placeholder, 194, 203

ordinary arguments, 196

placeholders, 193, 198

reference_wrapper, 194, 202

binomial_distribution, 328

bitmask type, 376

_Bool, 532

__bool_true_false_are_defined, 532

Boolean types, 532

Boost, x

bound arguments, 194

bracket expression, 362

C-style array, 93

cabs, 293

cacos, 294

cacosh, 296

call wrapper, 143, 159, 193, 194

in general, 141–155

call wrapper type, 143

callable object, 142, 173

callable type, 142, 172

capture group, 363

carg, 293

case-insensitive matching, 369

casin, 294

casinh, 296

catan, 295

catanh, 296

cbrt, 276

<ccomplex> header, 241

cconj, 298

ccos, 295

ccosh, 297

<cctype> header, 531

ceil, 266

cexp, 297

<cfenv> header, 241

<cfloat> header, 241

character class, 363

character classification, 531

character range, 364

Checkpointing, 313

cimag, 294

<cinttypes> header, 513, 517, 521

clog, 297

cmatch, 442

<cmath> header, 241

collating element, 365

collating symbol, 365

comp_ellint_1, 286

comp_ellint_2, 286

comp_ellint_3, 287

comparison operators, 13

<complex.h> header, 241, 292

composite, 219

compound engine, 308

compound type, 220

compromise rule, 213

concatenated regular expression, 359

conf_hyperg, 287

conformance, xii–xiv

conforming implementation, xiv

const_pointer_cast, 66

container, 86, 118

comparisons, 119

nested types, 118

operations, 118

continuous distribution, 325, 332

control escape sequence, 365

controlled resource, 23

controlled sequence, 86

controls, 24

copysign, 278

cos, 271, 295

cosh, 272, 297

cpow, 298

cproj, 299

creal, 294

cref, 7, 169

cregex_iterator, 467

cregex_token_iterator, 479

csin, 295

csinh, 297

csqrt, 298

<cstdbool> header, 532

<cstdint> header, 513

csub_match, 430

ctan, 295

ctanh, 297

current match, 471

<cwctype> header, 531

cycle, 46

cyl_bessel_i, 288

cyl_bessel_j, 288

cyl_bessel_k, 289

cyl_neumann, 290

deleter object, 68

denormal, 257

denormalized, 243

diagnosable rule, xiii

diagnostic message, xii

Dinkumware, Ltd., x

discard_block, 319

discrete distribution, 325, 327

div, 511, 512, 517, 519

domain error, 258

dsw character escape, 365

dynamic_pointer_cast, 64

element, 354

ellint_1, 285

ellint_2, 285

ellint_3, 285

empty function object, 179

empty regular expression, 376

empty shared ptr, 24

empty weak ptr, 24

enable_shared_from_this, 57–60

enumeration type, 376

equality comparison, 4, 13

equivalence class, 365

erf, 284

erfc, 284

error_type, 393

examples, about, 241

exp, 273, 297

exp2, 273

expint, 291

expired, 25

expm1, 273

exponent, 243

exponential_distribution, 332

fabs, 265, 293

false_type, 215

fdim, 266

FE_ALL_EXCEPT, 253

FE_DFL_ENV, 249

FE_DIVBYZERO, 252

FE_DOWNWARD, 251

FE_INEXACT, 252

FE_INVALID, 252

FE_OVERFLOW, 252

FE_TONEAREST, 251

FE_TOWARDZERO, 251

FE_UNDERFLOW, 252

FE_UPWARD, 251

feclearexcept, 253

fegetenv, 250

fegetexceptflag, 254

fegetround, 251

feholdexcept, 255

<fenv.h> header, 241, 247

fenv_t, 249

feraiseexcept, 253

fesetenv, 250

fesetexceptflag, 254

fesetround, 252

fetestexcept, 253

feupdateenv, 256

fexcept_t, 254

file format escape, 366

fixed width integer types, 512–519

exact width, 513

fastest, 515

macros, 516

minimum width, 514

pointers, 515

widest, 516

<float.h> header, 241, 552

floating-point control mode, 248

floating-point environment, 248

floating-point exception, 248

floating-point status flag, 248

floating-point type, 217

floating-point types, 242

model, 243

properties, 243

value ranges, 245

floor, 266

fma, 279

fmax, 266

fmin, 266

fmod, 269

formal language, use of, xi

forwarding call wrapper, 144

forwarding problem, 200

FP_FAST_FMA, 279

FP_ILOGB0, 274

FP_ILOGBNAN, 274

FP_INFINITE, 263

FP_NAN, 263

FP_NORMAL, 263

FP_SUBNORMAL, 263

FP_ZERO, 263

fpclassify, 263

frexp, 276

function, 141, 177–189

construction, 179

conversion to Boolean type, 181

derived from binary_function, 185

derived from unary_function, 185

function::operator(), 186

function::operator=, 182

function::result_type, 185

function::swap, 183

function::target, 187

function::target_type, 187

operator!=, 185

operator==, 184

function type, 178

<functional> header, 7, 141, 159, 168, 169, 178, 193, 203, 565

fundamental type, 219

gamma_distribution, 333

geometric_distribution, 329

get, 4, 10, 16, 110

greedy repetition, 358

has a deleter, 25

hash table, 114

hermite, 291

hexadecimal escape sequence, 366

hexfloat, 527

HUGE_VAL, 258

hyperg, 287

hypot, 276

I/O

hexadecimal, 525–527

identity escape, 366

ill-formed program, xiii

ilogb, 274

imag, 294

imaxabs, 517, 518

imaxdiv, 517, 519

imaxdiv_t, 517, 518

implementation-defined behavior, xiv

individual character, 367

infinity, 257

input sequence, 81

insert iterator, 83

int16_t, 513

int32_t, 513

int64_t, 513

int8_t, 513

int_fast16_t, 515

int_fast32_t, 515

int_fast64_t, 515

int_fast8_t, 515

INT_FASTN _MAX macros, 517

INT_FASTN _MIN macros, 517

int_least16_t, 514

int_least32_t, 514

int_least64_t, 514

int_least8_t, 514

INT_LEASTN _MAX macros, 517

INT_LEASTN _MIN macros, 517

integer types, 507–519

integral type, 216

integral_constant, 215

INTMAX_MAX, 517

INTMAX_MIN, 517

intmax_t, 516

INTN _C macros, 517

INTN _MAX macros, 517

INTN _MIN macros, 517

INTPTR_MAX, 517

INTPTR_MIN, 517

intptr_t, 515

<inttypes.h> header, 513, 517

INVOKE, 144

INVOKE R, 145

<ios> header, 527

is_bind_expression, 194, 203

is_placeholder, 194, 203

isblank, 531

isfinite, 263

isgreater, 264

isgreaterequal, 264

isinf, 263

isless, 264

islessequal, 265

islessgreater, 265

isnan, 264

isnormal, 264

isunordered, 265

iswblank, 531

iterator, 81

laguerre, 281

ldexp, 277

legendre, 281

lexicographical comparison, 13

lgamma, 283

linear_congruential, 313

llabs, 511, 512

lldiv, 511, 512

lldiv_t, 511, 512

llrint, 267

llround, 268

load factor, 134

locale-sensitive match, 369

locale-sensitive ranges, 365

log, 274, 297

log10, 274

log1p, 275

log2, 275

logb, 274

lrint, 267

lround, 268

make_tuple, 3, 7

match_flag_type, 406, 487

match_results, 432

match_results::format, 442, 488

<math.h> header, 241, 260, 279, 553

MATH_ERREXCEPT, 258

math_errhandling, 258

MATH_ERRNO, 258

"mathutil.h" header, 242, 575

mem_fn, 141, 159–165

binding to object, 160

pointer to member data, 164

result_type, 163

member pointer, 220

<memory> header, 26, 569

mersenne_twister, 314

minstd_rand, 323

minstd_rand0, 322

modf, 277

mt19937, 323

multiple CPUs, 579

multithreading, 71, 579–582

libraries and, 581

problems, 71, 579

mutex, 579

NaN, 257, 257

nan, 278

nearbyint, 267

negative assert, 368

negative word boundary assert, 368

nextafter, 278

nexttoward, 278

non-normative, xiv

noncapture group, 368

nongreedy repetition, 358

normal_distribution, 334

normalized, 243

normative, xiv

object type, 220

octal escape sequence, 368

One Definition Rule, xiii

operand, 179

operand sequence, 376

order comparison, 4, 13

ordinary character, 369

original owner, 25

original pointer, 25

output sequence, 82

overload, 259

owns, 24

pair, 3, 15–17

get, 16

tuple_element, 16

tuple_size, 16

Parallelizing a calculation, 312

points to, 24

poisson_distribution, 330

polymorphic type, 222

positive assert, 370

pow, 275, 298

predefined engines, 322

printf, 525–527

PRIxxx macros, 521

PTRDIFF_MAX, 517

PTRDIFF_MIN, 517

race condition, 581

raise, 252

<random> header, 305

random number distribution, 325

random number distributions, 325–336

bernoulli_distribution, 327

binomial_distribution, 328

continuous, 332

discrete, 327

exponential_distribution, 332

gamma_distribution, 333

geometric_distribution, 329

normal_distribution, 334

poisson_distribution, 330

uniform_int, 331

uniform_real, 335

random number engine, 308

random number engines

discard_block, 319

linear_congruential, 313

mersenne_twister, 314

minstd_rand, 323

minstd_rand0, 322

mt19937, 323

random_device, 321

ranlux3, 323

ranlux3_01, 324

ranlux4, 324

ranlux4_01, 324

ranlux64_base_01, 324

ranlux_base_01, 324

subtract_with_carry, 316

subtract_with_carry_01, 317

xor_combine, 320

random number generator, 307

random numbers, 305–342

engine templates, 312

predefined engines, 322

variate_generator, 336

random_device, 321

range, 81

range error, 258

ranlux3, 323

ranlux3_01, 324

ranlux4, 324

ranlux4_01, 324

ranlux64_base_01, 324

ranlux_base_01, 324

reachable, 81

real, 294

ref, 7, 169

reference count, 23, 28

reference_wrapper, 141, 167–174

construction, 168

operator(), 172

result_type, 172

type, 171

<regex> header, 377, 402, 406, 419, 456, 467, 537

regex_constants, 378

regex_error, 395

regex_iterator, 456

regex_match, 403

regex_replace, 491

regex_search, 404

regex_token_iterator, 467

regex_traits, 375, 503

regular expression, 347

regular expression grammar, 353

regular expression searches, 399–479

cmatch, 442

cregex_iterator, 467

cregex_token_iterator, 479

csub_match, 430

empty matches, 450

lost anchors, 447

lost word boundaries, 449

match_flag_type, 406

match_results, 432

match_results::format, 442

optimizing, 383

regex_iterator, 456

regex_match, 403

regex_search, 404

regex_token_iterator, 467

smatch, 442

sregex_iterator, 467

sregex_token_iterator, 479

ssub_match, 430

storing results, 417–442

sub_match, 420

wcmatch, 442

wcregex_iterator, 467

wcregex_token_iterator, 479

wcsub_match, 430

wsmatch, 442

wsregex_iterator, 467

wsregex_token_iterator, 479

wssub_match, 430

regular expression traits class, 497

regular expressions, 347–505

basic_regex, 375, 384

case-insensitive comparison, 380, 499

character ranges, 382

customizing, 497–505

error_type, 393

errors, 393–395

formatting with, 483–494

escape sequences, 488

grammars, 353–372

ignoring submatches, 383

match_flag_type, 487

match_results::format, 488

overview, 347

regex_constants, 378

regex_error, 395

regex_replace, 491

regex_traits, 375, 503

syntax_option_type, 379

rehashing, 117

releases control, 25

remainder, 269

remquo, 269

repetition count, 357

resource limits, xiii

result_of, 141

reversible container, 89

"rgxutil.h" header, 371, 576

riemann_zeta, 291

rint, 267

round, 268

rounding mode, 251

scalar type, 220

scalbln, 277

scalbn, 277

scanf, 527

SCNxxx macros, 521

sequence, 81

sequence container, 87

serialization, 579

shared data, changes to, 579, 580, 582

shared pointer conversions, 60–66

shared_ptr, 27–45

const_pointer_cast, 66

constructing, 28, 49, 60, 61

destroying, 32

dynamic_pointer_cast, 64

empty, 24

get, 33

get_deleter, 44

operator boolean-type, 35

operator!=, 41

operator*, 33

operator->, 34

operator<, 41

operator<<, 43

operator=, 61

operator=, 37

operator==, 41

overview, 28

quirks, 43

reset, 39

static_pointer_cast, 63

swap, 40

unique, 36

use_count, 36

SIG_ATOMIC_MAX, 517

SIG_ATOMIC_MIN, 517

signbit, 264

significand, 243

simple call wrapper, 144

simple engine, 308

sin, 271, 295

sinh, 272, 297

SIZE_MAX, 517

smart pointers, 23–72

bad_weak_ptr, 60

definitions of terms, 24

destruction of controlled resources, 66

shared_ptr, see shared_ptr

weak_ptr, see weak_ptr

smatch, 442

sph_bessel, 289

sph_legendre, 282

sph_neumann, 290

"sputil.h" header, 25, 573

sqrt, 275, 298

sregex_iterator, 467

sregex_token_iterator, 479

ssub_match, 430

Standard Template Library, 81–90

standards

C++, 241

C, 241, 532

IEC 60559, 257

state, 312

static_pointer_cast, 63

<stdbool.h> header, 532

<stdint.h> header, 512, 513

strftime, 522–525

strtod, 520

strtof, 520

strtoimax, 520, 521

strtol, 520

strtold, 520

strtoll, 520

strtoul, 520

strtoull, 520

strtoumax, 520, 521

sub_match, 420

subexpression, 360

subtract_with_carry, 316

subtract_with_carry_01, 317

suffix terator, 471

syntax_option_type, 379

tan, 271, 295

tanh, 273, 297

target load factor, 134

target object, 143, 173

text representation, 312

text-conversion functions, 520

tgamma, 283

<tgmath.h> header, 259

threads, see multithreading

tie, 3

TransformationTypeTrait, 213

trap handler, 248

trivial copy assignment operator, 225

trivial copy constructor, 224

trivial default constructor, 223

trivial destructor, 226

true_type, 215

trunc, 268

<tuple> header, 4

tuple, 110–111

comparing, 13

constructing, 6

get, 4, 10

maketuple, 6

operator=, 9

references, 7

tie, 8

tuple_element, 12

tuple_size, 11

tuple_element, 4, 12, 16, 111

tuple_size, 4, 11, 16, 111

tuples, 3–15

type predicate, 212

type query, 212

type traits, 209–235

alignment, 233

BinaryTypeTrait, 213

composite type categories, 219

compromise rule, 213

false_type, 215

helper types, 215

integral_constant, 215

primary type categories, 216

TransformationTypeTrait, 213

true_type, 215

type properties, 220

type relationships, 229

type transformations, 230

UnaryTypeTrait, 213

type transformation, 212

<typetraits> header, 213

uint16_t, 513

uint32_t, 513

uint64_t, 513

uint8_t, 513

uint_fast16_t, 515

uint_fast32_t, 515

uint_fast64_t, 515

uint_fast8_t, 515

UINT_FASTN _MAX macros, 517

uint_least16_t, 514

uint_least32_t, 514

uint_least64_t, 514

uint_least8_t, 514

UINT_LEASTN _MAX macros, 517

UINTMAX_MAX, 517

uintmax_t, 516

UINTN _C macros, 517

UINTN _MAX macros, 517

UINTPTR_MAX, 517

uintptr_t, 515

UnaryTypeTrait, 213

undefined behavior, xii

Unicode escape sequence, 370

uniform_int, 331

uniform_real, 335

unordered, 258

unordered associative container, 89, 119

in general, 113–137

nested types, 120

operations, 120–124

rehash, 134

tuning, 135

<unordered_map> header, 549

unordered_map, 549

unordered_multimap, 549

unordered_multiset, 545

<unordered_set> header, 545

unordered_set, 545

unspecified behavior, xiv

<utility> header, 571

va_copy macro, 530

variable-length argument lists, 528, 530

variate_generator, 336

WCHAR_MAX, 517

WCHAR_MIN, 517

wcmatch, 442

wcregex_iterator, 467

wcregex_token_iterator, 479

wcstod, 520

wcstof, 520

wcstoimax, 520, 521

wcstol, 520

wcstold, 520

wcstoll, 520

wcstoul, 520

wcstoull, 520

wcstoumax, 520, 521

wcsub_match, 430

weak result type, 145

weak_ptr, 45–56

constructing, 47, 48

destroying, 49

empty, 24

expired, 51

lock, 51

operator<, 55

operator=, 53

overview, 47

reset, 54

swap, 55

use_count, 52

well-formed program, xiii

wildcard character, 370

WINT_MAX, 517

WINT_MIN, 517

word boundary, 370

word boundary assert, 370

word characters, 370

wsmatch, 442

wsregex_iterator, 467

wsregex_token_iterator, 479

wssub_match, 430

xor_combine, 320

zero-length match, 421

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.255.126