Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Extra-Creativity/Modern-Cpp-Basics
/ functions
Functions
594 in github.com/Extra-Creativity/Modern-Cpp-Basics
⨍
Functions
594
◇
Types & classes
134
↓ 27 callers
Method
begin
15-Memory Management/Answer-code/List.hpp:414
↓ 24 callers
Method
end
15-Memory Management/Answer-code/List.hpp:415
↓ 19 callers
Function
Invoke
12-Advanced Template/Answer-code/Invoke.cpp:75
↓ 16 callers
Method
Unwrap
15-Memory Management/Answer-code/List.hpp:111
↓ 16 callers
Method
size
15-Memory Management/Answer-code/List.hpp:428
↓ 15 callers
Function
print
12-Advanced Template/code/Variadic Template/print.h:4
↓ 13 callers
Function
OutputRange
15-Memory Management/Answer-code/List.test.cpp:5
↓ 11 callers
Method
GetImplPtr_
12-Advanced Template/Answer-code/Function-SBO.cpp:135
↓ 7 callers
Method
GetHandle
08-String & Stream/example-answer/src/Socket.h:87
↓ 7 callers
Method
begin
08-String & Stream/example-answer/src/TCPBuf.h:64
↓ 7 callers
Method
push_back
13-Multithreading/Answer-code/ThreadGroup.cpp:33
↓ 6 callers
Method
GetSentinelPtr
Rvalue is not useful so omit forwarding.
15-Memory Management/Answer-code/List.hpp:73
↓ 6 callers
Method
begin
08-String & Stream/example/src/TCPBuf.h:60
↓ 6 callers
Method
data
12-Advanced Template/Answer-code/FixedString.cpp:21
↓ 6 callers
Function
measure
08-String & Stream/code/Profile.cpp:122
↓ 5 callers
Method
GetHandle
08-String & Stream/example/src/Socket.h:83
↓ 5 callers
Method
MoveAndDestruct_
12-Advanced Template/Answer-code/Function-SBO.cpp:126
↓ 5 callers
Method
end
08-String & Stream/example/src/TCPBuf.h:61
↓ 4 callers
Function
DecomposeToByte
08-String & Stream/code/Decompose.cpp:7
↓ 4 callers
Method
GetImplPtr_
12-Advanced Template/Answer-code/Function.cpp:121
↓ 4 callers
Function
GetRandomNumber
13-Multithreading/code/deadlock_recovery.cpp:26
↓ 4 callers
Function
OutputDate
16-Supplementary and Summary/code/chrono-fmt-loc.cpp:29
↓ 4 callers
Function
OutputTime
16-Supplementary and Summary/code/chrono-fmt-loc.cpp:16
↓ 4 callers
Method
SetBuffer
08-String & Stream/example/src/TCPBuf.h:66
↓ 4 callers
Method
SetBuffer
08-String & Stream/example-answer/src/TCPBuf.h:70
↓ 4 callers
Method
cbegin
We will protect data to make it actually immutable, to ensure safety of this const_cast.
15-Memory Management/Answer-code/List.hpp:418
↓ 4 callers
Method
cend
15-Memory Management/Answer-code/List.hpp:422
↓ 4 callers
Method
end
08-String & Stream/example-answer/src/TCPBuf.h:65
↓ 3 callers
Function
FormatOptions
Better: use std::runtime_format since C++26.
16-Supplementary and Summary/code/chrono-fmt-loc.cpp:8
↓ 3 callers
Function
GetErrorCode
08-String & Stream/example/src/Socket.h:93
↓ 3 callers
Function
GetErrorCode
08-String & Stream/example-answer/src/Socket.h:97
↓ 3 callers
Method
IsLocal_
12-Advanced Template/Answer-code/Function-SBO.cpp:103
↓ 3 callers
Method
Print
06-Programming in Multiple Files/modules/module-test/split-impl/Person.cpp:7
↓ 3 callers
Method
Print
06-Programming in Multiple Files/modules/module-test-20/split-impl/Person.cpp:11
↓ 3 callers
Method
joinable
13-Multithreading/Answer-code/Thread.cpp:74
↓ 3 callers
Method
size
07-Error Handling/code/copy-and-swap idiom.cpp:15
↓ 3 callers
Method
size
12-Advanced Template/Answer-code/FixedString.cpp:19
↓ 3 callers
Method
swap
12-Advanced Template/Answer-code/Function.cpp:164
↓ 3 callers
Method
swap
12-Advanced Template/Answer-code/Function-SBO.cpp:250
↓ 2 callers
Method
ExchangeEmpty_
14-Advanced Concurrency/code/Generator.cpp:70
↓ 2 callers
Function
FormatLine
13-Multithreading/code/barrier_example.cpp:7
↓ 2 callers
Function
Func
06-Programming in Multiple Files/code/example1/template.cpp:5
↓ 2 callers
Method
GetGPACoeff
12-Advanced Template/code/CRTP and Type Erasure/Type Erasure.cpp:67
↓ 2 callers
Function
GetRandomNumber
13-Multithreading/Answer-code/ThreadSafeQueue1.test.cpp:9
↓ 2 callers
Method
GetRawBuffer
08-String & Stream/example-answer/src/TCPBuf.h:67
↓ 2 callers
Function
Hello
06-Programming in Multiple Files/code/inline-example/func.h:4
↓ 2 callers
Function
HelloWorld
No need to specify any export; it's the duty of module interface!
06-Programming in Multiple Files/modules/module-test/split-impl/Person-Funcs.cpp:7
↓ 2 callers
Function
HelloWorld
No need to specify any export; it's the duty of module interface!
06-Programming in Multiple Files/modules/module-test-20/split-impl/Person-Funcs.cpp:9
↓ 2 callers
Function
ObjectTest
12-Advanced Template/Answer-code/Invoke.cpp:109
↓ 2 callers
Function
PrintGPA
12-Advanced Template/code/CRTP and Type Erasure/CRTP-deducing this.cpp:25
↓ 2 callers
Function
PrintGPA
12-Advanced Template/code/CRTP and Type Erasure/Type Erasure.cpp:76
↓ 2 callers
Function
PrintGPA
12-Advanced Template/code/CRTP and Type Erasure/CRTP.cpp:27
↓ 2 callers
Method
Splice
15-Memory Management/Answer-code/List.hpp:241
↓ 2 callers
Function
Startup
08-String & Stream/example/src/Socket.h:102
↓ 2 callers
Function
Startup
08-String & Stream/example-answer/src/Socket.h:106
↓ 2 callers
Function
advance
12-Advanced Template/code/SFINAE/advance.cpp:38
↓ 2 callers
Method
begin
正常来说begin也得写const + non-const两个版本(分别对应iterator和const iterator),但是可以用deducing this简化。
12-Advanced Template/Answer-code/FixedString.cpp:25
↓ 2 callers
Method
data
12-Advanced Template/Answer-code/FixedString.cpp:49
↓ 2 callers
Method
end
12-Advanced Template/Answer-code/FixedString.cpp:26
↓ 2 callers
Function
h
12-Advanced Template/code/Variadic Template/Ex4-6.cpp:5
↓ 2 callers
Function
h
12-Advanced Template/code/Variadic Template/Ex7-9.cpp:19
↓ 2 callers
Method
open
08-String & Stream/example-answer/src/TCPBuf.h:106
↓ 1 callers
Method
Assign
15-Memory Management/Answer-code/List.hpp:328
↓ 1 callers
Method
Call
12-Advanced Template/Answer-code/Function.cpp:58
↓ 1 callers
Method
Call
12-Advanced Template/Answer-code/Function-SBO.cpp:85
↓ 1 callers
Function
CheckedPushBackGuard
12-Advanced Template/Answer-code/PushBackGuard.cpp:21
↓ 1 callers
Method
Clone
12-Advanced Template/Answer-code/Function.cpp:54
↓ 1 callers
Method
Clone
12-Advanced Template/Answer-code/Function-SBO.cpp:80
↓ 1 callers
Method
Close
Clean and reset.
08-String & Stream/example/src/Socket.h:71
↓ 1 callers
Method
Close
Clean and reset.
08-String & Stream/example-answer/src/Socket.h:75
↓ 1 callers
Method
Erase
Enhancement: destroy is assumed to be noexcept.
15-Memory Management/Answer-code/List.hpp:308
↓ 1 callers
Function
FindInStr
07-Error Handling/code/optional.cpp:6
↓ 1 callers
Function
Func
06-Programming in Multiple Files/code/inline-test/func.cpp:5
↓ 1 callers
Function
Func
06-Programming in Multiple Files/code/extern-C-test/test1/a.cpp:5
↓ 1 callers
Function
Func
06-Programming in Multiple Files/code/extern-C-test/test2/a.cpp:5
↓ 1 callers
Function
Func
12-Advanced Template/code/NTTP.cpp:15
↓ 1 callers
Method
Get
15-Memory Management/Answer-code/AllocGuard.hpp:22
↓ 1 callers
Method
GetGPA
12-Advanced Template/code/CRTP and Type Erasure/CRTP-deducing this.cpp:8
↓ 1 callers
Method
GetGPA
12-Advanced Template/code/CRTP and Type Erasure/Type Erasure.cpp:51
↓ 1 callers
Method
GetGPA
12-Advanced Template/code/CRTP and Type Erasure/CRTP.cpp:8
↓ 1 callers
Method
GetGPACoeff
12-Advanced Template/code/CRTP and Type Erasure/CRTP-deducing this.cpp:14
↓ 1 callers
Method
GetGPACoeff
12-Advanced Template/code/CRTP and Type Erasure/CRTP.cpp:17
↓ 1 callers
Method
GetInteger
14-Advanced Concurrency/code/BackAwaiterExample.cpp:67
↓ 1 callers
Method
GetLength
06-Programming in Multiple Files/code/example1/Vector3.cpp:8
↓ 1 callers
Method
GetNum
12-Advanced Template/code/SFINAE/Dictionary.cpp:71
↓ 1 callers
Function
GetObject_NRVO
10-Value Category and Move Semantics/code/RVO and NRVO.cpp:26
↓ 1 callers
Function
GetObject_RVO
10-Value Category and Move Semantics/code/RVO and NRVO.cpp:21
↓ 1 callers
Method
GetRawBuffer
08-String & Stream/example/src/TCPBuf.h:63
↓ 1 callers
Method
GetSize
08-String & Stream/example-answer/src/TCPBuf.h:68
↓ 1 callers
Method
GetSnapshot
13-Multithreading/Answer-code/ThreadSafeQueue1.hpp:61
↓ 1 callers
Method
GetVal
12-Advanced Template/Answer-code/PushBackGuard.cpp:85
↓ 1 callers
Method
GetX
06-Programming in Multiple Files/code/example1/namespace.cpp:7
↓ 1 callers
Function
Hello2
06-Programming in Multiple Files/code/inline-example/func.cpp:5
↓ 1 callers
Function
HelloWorld
No need to specify any export; it's the duty of module interface!
06-Programming in Multiple Files/modules/module-test/global-fragment/Person.cpp:20
↓ 1 callers
Function
HelloWorld
No need to specify any export; it's the duty of module interface!
06-Programming in Multiple Files/modules/module-test/header-unit/Person.cpp:16
↓ 1 callers
Function
HelloWorld
No need to specify any export; it's the duty of module interface!
06-Programming in Multiple Files/modules/module-test-20/global-fragment/Person.cpp:23
↓ 1 callers
Function
HelloWorld
No need to specify any export; it's the duty of module interface!
06-Programming in Multiple Files/modules/module-test-20/header-unit/Person.cpp:20
↓ 1 callers
Method
ID
15-Memory Management/Answer-code/List.test.cpp:83
↓ 1 callers
Function
InnerMethod
06-Programming in Multiple Files/modules/module-test/global-fragment/Person.cpp:28
↓ 1 callers
Function
InnerMethod
06-Programming in Multiple Files/modules/module-test/header-unit/Person.cpp:24
next →
1–100 of 594, ranked by callers