索引
知识有两种。
我们自己知道一个问题,
或者我们知道在哪里
我们能够找到关于这个问题的资料。
—— 塞缪尔·约翰逊
Token
"
string literal 3$
,regex
117%=
, operator 7&&
, rvalue reference 71(
,regex
117()
, call operator 85(?
, pattern 120)
,regex
117*=
, scaling operator 7*?
lazy 118++
, increment operator 7+?
lazy 118-
, minus operator 6--
decrement operator 7.
,regex
117/
, divide operator 6//
comment 2/=
, scaling operator 7: public
55?
,regex
117??
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
alignas
215alignof
215allocation 51
allocator
new
, container 178almost container 170
alnum
,regex
119alpha
,regex
119[[:alpha:]]
, letter 119ANSI C++ 212
any
177append
+=
,string
112ARM 212
<array>
109asin()
188assembler 210
assert()
40assertion
static_assert
40Assignable
,concept 158associative array - see
map
async()
launch 204at()
141atan()
188atan2()
188AT&T Bell Laboratories 212
auto=
8auto_ptr
,deprecated 218
B
back_inser ter()
150backslash
\
3bad_variant_access
176base and derived
class
55basic_string
114BCPL 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,
bitset
and 172blank
,regex
119body,function 2
book for beginner 1
bool
5Boolean
,concept 158BoundedRange
,concept 160break
15
C
C++03 212
C11 218
C89 and C99 218
C99, C89 and 218
call operator () 85
callback 181
capture list 87
carries_dependency
215cast 53
catch(...)
141ceil()
188char
5character sets, multiple 114
checking, cost of range 142
chrono
,namespace
179Classic C 219
C-library header 100
clock
timing 200cntrl
,regex
119code complexity, function and 4
comment,
//
2Common
,concept 158CommonReference
,concept 158common_type_t
158communication, task 202
compatibility, C and C++ 218
compiler 2
complete encapsulation 66
complex
49, 190complexity, function and code 4
computation, compile-time 181
concatenation
+
,string
111Assignable
158based overloading 95
BidirectionalIterator
159BidirectionalRange
160Boolean
158BoundedRange
160Common
158CommonReference
158Constructible
158ConvertibleTo
158Copyable
158CopyConstructible
158DefaultConstructible
158DerivedFrom
158Destructible
158EqualityComparable
158ForwardIterator
159ForwardRange
160InputIterator
159InputRange
160Integral
158Invocable
159InvocableRegular
159Iterator
159Mergeable
159Movable
158MoveConstructible
158OutputIterator
159OutputRange
160Permutable
159Predicate
159RandomAccessIterator
159RandomAccessRange
160Range
157Range
160Regular
158Relation
159Same
158Semiregular
158Sentinel
159SignedIntegral
158SizedRange
160SizedSentinel
159Sortable
159StrictTotallyOrdered
158StrictWeakOrder
159support 94
Swappable
158SwappableWith
158UnsignedIntegral
158use 94
View
160WeaklyEqualityComparable
158
<concepts>
, concepts in 158concurrency 195
condition, declaration in 61
<condition_variable>
201const_iterator
154Constructible,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
,regex
119\d
,regex
119d
,regex
119data race 196
data()
,array
171D&E 208
deadlock 199
deallocation 51
debugging
template
100-declaration,
using
34declarator operator 12
decltype
215decrement operator
--
7=default
66DefaultConstructible
,concept 158delegating constructor 215
=delete
67deque
146derived
class
, base and 55DerivedFrom
,concept 158Destructible
, concept 158dictionary – see
map
digit,
[[:digit:]]
119digit
,regex
119[[:digit:]]
digit 119-directive,
using
35dispatch, tag 181
distribution,
random
191divide operator
/
6domain error 188
double
5duck typing 104
duration
179duration_cast
179dynamic store 51
E
EDOM
188element requirements
elision, copy 66
emplace_back()
147empty()
147enable_if
184encapsulation, complete 66
engine,
random
191enum
,bitset
and 172equal operator
==
6equality preserving 159
EqualityComparable
,concept 158ERANGE
188erase()
143, 147errno
188error-code, exception vs 38
essential operations 66
exclusive_scan()
189execution policy 161
explicit
type conversion 53explicit
constructor 67exponential_distribution
191export
removed 218expr()
188extern template
215
F
fabs()
188facilities, standard library 108
fail_fast
170feature, deprecated 218
file, header 31
final
216find_all()
example 151first
,pair
member 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()
,future
member 202graph
,regex
119greater-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
if
statement 14in-class member initialization 215
#include
31inclusive_scan()
189increment operator ++ 7
index,
get<>()
by 174inheriting constructor 216
initializer-list constructor 52
initializer_list
52inlining 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_iterator
154Iterator
, concept 159iterator_category
182iterator_type
182
J
join()
,thread
196
K
L
\L
,regex
119\l
,regex
119launch,
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 long
215lower
,regex
119
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,
template
compilation 104modern C++ 214
modf()
188modularity 29
module
suport 32modules, C++20 32
modulus operator
%
6Movable
,concept 158MoveConstructible
,concept 158move-only type 167
multi-line pattern 117
multimap
146multiply operator * 6
multiset
146mutex
199<mutex>
199
N
,newline 3
namespace scope 9
navigation, hierarchy 61
new
container allocator 178
naked 52
operator 51
newline 3
noexcept
37noexcept()
215non-memory resource
non-standard library
noreturn
215normal_distribution
notation, regular expression 117
not-equal operator
!=
6notify_one()
,condition_variable
202NULL 0
,nullptr
13number,random 191
<numeric>
189numerical algorithm 189
numeric_limits
193
O
optimization, short-string 113
optional
176order of evaluation 7
ostream_iterator
154out_of_range
141OutputIterator
,concept 159OutputRange
,concept 160overloaded operator 51
override
55overview, container 146
ownership 164
P
packaged_task
thread
203par
161parallel algorithm 161
parameterized type 79
partial_sum()
189par_unseq
161passing data to task 197
perfect forwarding 168
Permutable
,concept 159phone_bookexample 138
plus operator
+
6pmr
,namespace
178policy, execution 161
polymorphic type 54
pow()
188precondition 37
Predicate
,concept 159print
,regex
119procedural programming 2
program 2
pronunciation, C++ 209
punct
,regex
119pure
virtual
54purpose,
template
93push_front()
143
R
R"
116race, data 196
RAII
52Rand_int
example 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_iterator
121regex_search
116Regular
,concept 158reinterpret_cast
53Relation
,concept 159remainder operator
%
6repetition,
regex
118replace_if()
156requirement,
template
94requirements, element 140
requires] expression 96
resize()
147rethrow 38
returning results from task 198
return
-type deduction 44return-values, multiple 44
riemanzeta()
188
S
s
literal suffix 113\s
,regex
119s
,regex
119\S
,regex
119safety,resource 72
Same
,concept 158scoped_lock()
199search, binary 156
second
,pair
member 173Semiregular
,concept 158Sentinel
,concept 159separate compilation 30
set
146<set>
109set_exception()
,promisemember
202set_value()
,promisemember
202shared_lock
200shared_mutex
200shared_ptr
164sharing data task 199
short-string optimization 113
SignedIntegral
,concept 158SIMD 161
Simula 207
sin()
188singly-linked list,
forward_list
143sinh()
188size of type 6
SizedRange
,concept 160SizedSentinel
,concept 159sizeof
6sizeof()
181size_t
90smart pointer 164
smatch
116Sortable
, concept 159space
,regex
119special mathematical functions 188
specialized container 170
sphbessel()
188sqrt()
188<sstream>
109standardization, C++ 212
state, moved-from 168
static_cast
53<stdexcept>
109STL 211
StrictTotallyOrdered
,concept 158StrictWeakOrder
,concept 159<string>
109, 111string_literals
,literals
113string_span
170string_view_literals
,literals
115subclass, superclass and 55
[]
subscripting 147substr()
,string
112superclass and subclass 55
suport,
module
32support, concept 94
sv
literal suffix 115swap()
76Swappable
, concept 158SwappableWith
,concept 158switch
statement 14synchronized_pool_resource
178
T
table, hash 144
tag dispatch 181
tanh()
188TC++PL 208
this
70thread_local
216time 179
timeline, C++ 208
time_point
179timing,
clock
200to hardware, mapping 16
transform_reduce()
189translation unit 32
try
-block, RAII and 40try
-statement, RAII and 36<type_traits>
183typing, duck 104
U
\U
,regex
119\u
,regex
119udl 75
Unicode string 114
uniform_int_distribution
191uninitialized 8
<unordered_map>
109unordered_multimap
146unordered_multiset
146unordered_set
146unsigned
5UnsignedIntegral
,concept 158upper
,regex
119use, concept 94
usual arithmetic conversions 7
V
valarray
192<valarray>
192valuetype
147value_type
90variable 5
variadic
template
100variant
175vector arithmetic 192
<vector>
109vector<bool>
170vectorized 161
View
,concept 160vtbl
,virtual
function table 56
W
w
,regex
119\w
,regex
119\W
,regex
119wait()
,condition_variable
201WeaklyEqualityComparable
,concept 158WG21 208
while
statement 14
X
Z
zero, rule of 67
最后更新于