索引
知识有两种。
我们自己知道一个问题,
或者我们知道在哪里
我们能够找到关于这个问题的资料。
—— 塞缪尔·约翰逊
Token
"string literal 3$,regex117%=, operator 7&&, rvalue reference 71(,regex117(), call operator 85(?, pattern 120),regex117*=, scaling operator 7*?lazy 118++, increment operator 7+?lazy 118-, minus operator 6--decrement operator 7.,regex117/, divide operator 6//comment 2/=, scaling operator 7: public55?,regex117??lazy 118[,regex 117\,backslash 3],regex 117^,regex 117{,regex 117{}?lazy 118|,regex 117},regex 117~,destructor 51
A
abs()188accumulate()189acquisition RAII, resource 164
adaptor,lambda as 180
address,memory 16
address-of operator
&11adjacent_difference()189aims,C++11 213
alignas215alignof215allocation 51
allocator
new, container 178almost container 170
alnum,regex119alpha,regex119[[:alpha:]], letter 119ANSI C++ 212
any177append
+=,string112ARM 212
<array>109asin()188assembler 210
assert()40assertion
static_assert40Assignable,concept 158associative array - see
mapasync()launch 204at()141atan()188atan2()188AT&T Bell Laboratories 212
auto=8auto_ptr,deprecated 218
B
back_inser ter()150backslash
\3bad_variant_access176base and derived
class55basic_string114BCPL 219
beginner, book for 1
Bell Laboratories, AT&T 212
beta()188bibliography 222
BidirectionalIterator,concept 159BidirectionalRange,concept 160binary search 156
binding, structured 45
bit-field,
bitsetand 172blank,regex119body,function 2
book for beginner 1
bool5Boolean,concept 158BoundedRange,concept 160break15
C
C++03 212
C11 218
C89 and C99 218
C99, C89 and 218
call operator () 85
callback 181
capture list 87
carries_dependency215cast 53
catch(...)141ceil()188char5character sets, multiple 114
checking, cost of range 142
chrono,namespace179Classic C 219
C-library header 100
clocktiming 200cntrl,regex119code complexity, function and 4
comment,
//2Common,concept 158CommonReference,concept 158common_type_t158communication, task 202
compatibility, C and C++ 218
compiler 2
complete encapsulation 66
complex49, 190complexity, function and code 4
computation, compile-time 181
concatenation
+,string111Assignable158based overloading 95
BidirectionalIterator159BidirectionalRange160Boolean158BoundedRange160Common158CommonReference158Constructible158ConvertibleTo158Copyable158CopyConstructible158DefaultConstructible158DerivedFrom158Destructible158EqualityComparable158ForwardIterator159ForwardRange160InputIterator159InputRange160Integral158Invocable159InvocableRegular159Iterator159Mergeable159Movable158MoveConstructible158OutputIterator159OutputRange160Permutable159Predicate159RandomAccessIterator159RandomAccessRange160Range157Range160Regular158Relation159Same158Semiregular158Sentinel159SignedIntegral158SizedRange160SizedSentinel159Sortable159StrictTotallyOrdered158StrictWeakOrder159support 94
Swappable158SwappableWith158UnsignedIntegral158use 94
View160WeaklyEqualityComparable158
<concepts>, concepts in 158concurrency 195
condition, declaration in 61
<condition_variable>201const_iterator154Constructible,concept 158
contents-of operator
*11contract 40
contracts, C++20 40
conversions, usual arithmetic 7
ConvertibleTo,concept 158
copy()156Copyable,concept 158CopyConstructible,concept 158copy_if()156Core Guidelines, C++ 214
core language, C++ 2
coroutine 211
cos()188cosh()188count()156cout,output 3<cstdlib>110
D
\D,regex119\d,regex119d,regex119data race 196
data(),array171D&E 208
deadlock 199
deallocation 51
debugging
template100-declaration,
using34declarator operator 12
decltype215decrement operator
--7=default66DefaultConstructible,concept 158delegating constructor 215
=delete67deque146derived
class, base and 55DerivedFrom,concept 158Destructible, concept 158dictionary – see
mapdigit,
[[:digit:]]119digit,regex119[[:digit:]]digit 119-directive,
using35dispatch, tag 181
distribution,
random191divide operator
/6domain error 188
double5duck typing 104
duration179duration_cast179dynamic store 51
E
EDOM188element requirements
elision, copy 66
emplace_back()147empty()147enable_if184encapsulation, complete 66
engine,
random191enum,bitsetand 172equal operator
==6equality preserving 159
EqualityComparable,concept 158ERANGE188erase()143, 147errno188error-code, exception vs 38
essential operations 66
exclusive_scan()189execution policy 161
explicittype conversion 53explicitconstructor 67exponential_distribution191exportremoved 218expr()188extern template215
F
fabs()188facilities, standard library 108
fail_fast170feature, deprecated 218
file, header 31
final216find_all()example 151first,pairmember 173floor()188fmod()188forward()167forwarding, perfect 168
ForwardIterator, concept 159<forward_list>109ForwardRange, concept 160free store 51
frexp()188<fstream>109__func__215fundamental type 5
G
garbagecollection 73
get(),futuremember 202graph,regex119greater-than operator
>6greater-than-or-equal operator
>=6grouping,
{}2Guidelines, C++ Core 214
H
half-open sequence 156
handle 52
resource 69, 165
hardware, mapping to 16
hash table 144hash<>, unordered_map 76
header
C-library 110
file 31
standard library 109
heap 51Hello,World! example 2
hierarchyclass 57
navigation 61
history, C++ 207
HOPL 208
I
ifstatement 14in-class member initialization 215
#include31inclusive_scan()189increment operator ++ 7
index,
get<>()by 174inheriting constructor 216
initializer-list constructor 52
initializer_list52inlining 49
inner_product()189InputIterator,concept 159InputRange,concept 160instantiation 81
instruction, machine 16
Integral,concept 158Invocable, concept 159InvocableRegular, concept 159I/O, iterator and 154
<ios>109<iostream>3, 109iota()189ISO-14882 212
istream_iterator154Iterator, concept 159iterator_category182iterator_type182
J
join(),thread196
K
L
\L,regex119\l,regex119launch,
async()204ldexp()188less-than operator
<6less-than-or-equal operator
<=6letter,
[[:alpha:]]119lifetime, scope and 9
lifting algorithm 100
linker 2
local scope 9
lock, reader-writer 200
log()188log10()188long long215lower,regex119
M
machine instruction 16
make_pair()173make_shared()166make_tuple()174make_unique()166<map>109mapped type, value 144
mapping to hardware 16
<math.h>188Max Munch rule 118
meaning, C++ 209
memberwise copy 66
mem_fn()180merge()156Mergeable,concept 159minus operator - 6
model,
templatecompilation 104modern C++ 214
modf()188modularity 29
modulesuport 32modules, C++20 32
modulus operator
%6Movable,concept 158MoveConstructible,concept 158move-only type 167
multi-line pattern 117
multimap146multiply operator * 6
multiset146mutex199<mutex>199
N
,newline 3
namespace scope 9
navigation, hierarchy 61
newcontainer allocator 178
naked 52
operator 51
newline 3
noexcept37noexcept()215non-memory resource
non-standard library
noreturn215normal_distributionnotation, regular expression 117
not-equal operator
!=6notify_one(),condition_variable202NULL 0,nullptr13number,random 191
<numeric>189numerical algorithm 189
numeric_limits193
O
optimization, short-string 113
optional176order of evaluation 7
ostream_iterator154out_of_range141OutputIterator,concept 159OutputRange,concept 160overloaded operator 51
override55overview, container 146
ownership 164
P
packaged_taskthread203par161parallel algorithm 161
parameterized type 79
partial_sum()189par_unseq161passing data to task 197
perfect forwarding 168
Permutable,concept 159phone_bookexample 138
plus operator
+6pmr,namespace178policy, execution 161
polymorphic type 54
pow()188precondition 37
Predicate,concept 159print,regex119procedural programming 2
program 2
pronunciation, C++ 209
punct,regex119pure
virtual54purpose,
template93push_front()143
R
R"116race, data 196
RAII52Rand_intexample 191random number 191
RandomAccessIterator,concept 159RandomAccessRange,concept 160range
<ranges>157<ranges>, concepts in 158raw string literal 116
reader-writer lock 200
recovery,error 38
reduce()189regex_iterator121regex_search116Regular,concept 158reinterpret_cast53Relation,concept 159remainder operator
%6repetition,
regex118replace_if()156requirement,
template94requirements, element 140
requires] expression 96
resize()147rethrow 38
returning results from task 198
return-type deduction 44return-values, multiple 44
riemanzeta()188
S
sliteral suffix 113\s,regex119s,regex119\S,regex119safety,resource 72
Same,concept 158scoped_lock()199search, binary 156
second,pairmember 173Semiregular,concept 158Sentinel,concept 159separate compilation 30
set146<set>109set_exception(),promisemember202set_value(),promisemember202shared_lock200shared_mutex200shared_ptr164sharing data task 199
short-string optimization 113
SignedIntegral,concept 158SIMD 161
Simula 207
sin()188singly-linked list,
forward_list143sinh()188size of type 6
SizedRange,concept 160SizedSentinel,concept 159sizeof6sizeof()181size_t90smart pointer 164
smatch116Sortable, concept 159space,regex119special mathematical functions 188
specialized container 170
sphbessel()188sqrt()188<sstream>109standardization, C++ 212
state, moved-from 168
static_cast53<stdexcept>109STL 211
StrictTotallyOrdered,concept 158StrictWeakOrder,concept 159<string>109, 111string_literals,literals113string_span170string_view_literals,literals115subclass, superclass and 55
[]subscripting 147substr(),string112superclass and subclass 55
suport,
module32support, concept 94
svliteral suffix 115swap()76Swappable, concept 158SwappableWith,concept 158switchstatement 14synchronized_pool_resource178
T
table, hash 144
tag dispatch 181
tanh()188TC++PL 208
this70thread_local216time 179
timeline, C++ 208
time_point179timing,
clock200to hardware, mapping 16
transform_reduce()189translation unit 32
try-block, RAII and 40try-statement, RAII and 36<type_traits>183typing, duck 104
U
\U,regex119\u,regex119udl 75
Unicode string 114
uniform_int_distribution191uninitialized 8
<unordered_map>109unordered_multimap146unordered_multiset146unordered_set146unsigned5UnsignedIntegral,concept 158upper,regex119use, concept 94
usual arithmetic conversions 7
V
valarray192<valarray>192valuetype147value_type90variable 5
variadic
template100variant175vector arithmetic 192
<vector>109vector<bool>170vectorized 161
View,concept 160vtbl,virtualfunction table 56
W
w,regex119\w,regex119\W,regex119wait(),condition_variable201WeaklyEqualityComparable,concept 158WG21 208
whilestatement 14
X
Z
zero, rule of 67
最后更新于