Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Light-City/CPlusPlusThings
/ functions
Functions
1,362 in github.com/Light-City/CPlusPlusThings
⨍
Functions
1,362
◇
Types & classes
550
↓ 2 callers
Method
add
english/basic_content/const/class_const/overload_example/main.cpp:9
↓ 2 callers
Method
add
english/basic_content/const/class_const/static_example/main.cpp:10
↓ 2 callers
Method
add
basic_content/const/class_const/first_example/apple.cpp:5
↓ 2 callers
Method
add
basic_content/const/class_const/c++11_example/apple.cpp:6
↓ 2 callers
Method
add
basic_content/const/class_const/static_example/apple.cpp:7
↓ 2 callers
Method
add_count
增加计数
learn_class/modern_cpp_30/smart_ptr/shared_ptr.cpp:11
↓ 2 callers
Function
arctan
practical_exercises/10_day_practice/day2/compute.cpp:13
↓ 2 callers
Function
bar
learn_class/modern_cpp_30/reference/forward.cpp:30
↓ 2 callers
Function
compareMax
practical_exercises/key_exercises/func_temp.cpp:6
↓ 2 callers
Function
create_shape
利用多态 上转 如果返回值为shape,会存在对象切片问题。
codingStyleIdioms/3_RAII/RAII.cpp:53
↓ 2 callers
Function
display
practical_exercises/10_day_practice/day8/func/sort.cpp:19
↓ 2 callers
Function
f
learn_class/modern_cpp_30/reference/collapses.cpp:9
↓ 2 callers
Function
f
practical_exercises/10_day_practice/day2/rec1.cpp:15
↓ 2 callers
Method
f
english/basic_content/using/using_derived.cpp:14
↓ 2 callers
Method
f
basic_content/using/using_derived.cpp:14
↓ 2 callers
Function
f3
practical_exercises/10_day_practice/day5/rela/rela.cpp:20
↓ 2 callers
Function
ff
basic_content/macro/do_while.cpp:36
↓ 2 callers
Function
foo
learn_class/modern_cpp_30/RAII/stack.cpp:10
↓ 2 callers
Function
foo
对于修饰Object来说: const并未区分出编译期常量和运行期常量 constexpr限定在了编译期常量 constexpr作用:优化!效率! constexpr修饰的函数,返回值不一定是编译期常量。It is not a bug, it is a feature. const修饰的是类型,co
cpp2.0/cpp11/constexpr.cpp:21
↓ 2 callers
Method
foo
learn_class/modern_cpp_30/SFINAE/sfinae paper/decltype.cpp:6
↓ 2 callers
Function
forwarding
"t &&" with "t" being template param is special, and adjusts "t" to be (for example) "int &" or non-ref "int" so std::forward knows what to do. */
learn_class/modern_cpp_30/reference/forward.cpp:13
↓ 2 callers
Function
g
learn_class/modern_cpp_30/reference/lifetime.cpp:47
↓ 2 callers
Method
get
codingStyleIdioms/3_RAII/RAII.cpp:72
↓ 2 callers
Function
getAddr
* @brief 获取vptr地址与func地址,vptr指向的是一块内存,这块内存存放的是虚函数地址,这块内存就是我们所说的虚表 * * @param obj * @param offset * * @return */
english/basic_content/vptr_vtable/vptr1.cpp:66
↓ 2 callers
Function
getAddr
* @brief * 获取vptr地址与func地址,vptr指向的是一块内存,这块内存存放的是虚函数地址,这块内存就是我们所说的虚表 * * @param obj * @param offset * * @return */
basic_content/vptr_vtable/vptr1.cpp:42
↓ 2 callers
Function
hash_combine
cpp2.0/cpp11/hash.cpp:44
↓ 2 callers
Function
is_valid
learn_class/modern_cpp_30/SFINAE/sfinae paper/fis_valid.cpp:42
↓ 2 callers
Function
is_valid
learn_class/modern_cpp_30/SFINAE/sfinae paper/packis_valid.cpp:39
↓ 2 callers
Method
lazy_launch
* this 标明按引用捕获外围对象(针对 lambda * 表达式定义出现在一个非静态类成员内的情况); 注意默认捕获符 = 和 & * 号可以自动捕获 this(并且在 C++20 之前,在 = 后写 this 会导致出错) * 本例子两次都按照第二次输出(this_threa
learn_class/modern_cpp_30/functionLambda/autoLambda.cpp:32
↓ 2 callers
Function
output_static_data
cpp2.0/cpp11/move.cpp:208
↓ 2 callers
Method
pop
practical_exercises/key_exercises/stack.cpp:40
↓ 2 callers
Method
pop
practical_exercises/10_day_practice/day8/class_template/stack.cpp:44
↓ 2 callers
Method
print
codingStyleIdioms/3_RAII/RAII.cpp:18
↓ 2 callers
Method
print
practical_exercises/10_day_practice/day4/const/obj_func.cpp:23
↓ 2 callers
Method
release
原来的指针释放所有权
learn_class/modern_cpp_30/smart_ptr/auto_scope.cpp:33
↓ 2 callers
Method
release
原来的指针释放所有权
learn_class/modern_cpp_30/smart_ptr/unique_ptr.cpp:38
↓ 2 callers
Function
rolldice
practical_exercises/10_day_practice/day2/shaizi.cpp:47
↓ 2 callers
Method
serialize
learn_class/modern_cpp_30/SFINAE/sfinae paper/combiningAndGenius.cpp:44
↓ 2 callers
Method
setEmpty
practical_exercises/10_day_practice/day8/class_template/stack.cpp:23
↓ 2 callers
Method
sety
practical_exercises/10_day_practice/day5/inherit_access/private.cpp:16
↓ 2 callers
Method
showx
practical_exercises/10_day_practice/day5/inherit_access/private.cpp:9
↓ 2 callers
Method
showy
practical_exercises/10_day_practice/day5/inherit_access/private.cpp:18
↓ 2 callers
Function
sqr
learn_class/modern_cpp_30/constexpr/sqrt.cpp:8
↓ 2 callers
Function
swap
learn_class/modern_cpp_30/smart_ptr/shared_ptr.cpp:107
↓ 2 callers
Method
swap
learn_class/modern_cpp_30/smart_ptr/shared_ptr.cpp:87
↓ 2 callers
Method
swap
learn_class/modern_cpp_30/smart_ptr/unique_ptr.cpp:44
↓ 2 callers
Method
test2
english/basic_content/using/derived_base.cpp:36
↓ 2 callers
Method
test2
basic_content/using/derived_base.cpp:38
↓ 2 callers
Method
who
english/basic_content/inline/inline_virtual.cpp:6
↓ 2 callers
Method
who
english/basic_content/virtual/set3/virtual_inline.cpp:16
↓ 2 callers
Method
who
english/basic_content/virtual/set3/inline_virtual.cpp:6
↓ 2 callers
Method
who
basic_content/inline/inline_virtual.cpp:5
↓ 2 callers
Method
who
basic_content/virtual/set3/virtual_inline.cpp:15
↓ 2 callers
Method
who
basic_content/virtual/set3/inline_virtual.cpp:5
↓ 1 callers
Function
AcceptRef
english/basic_content/pointer_refer/copy_construct.cpp:26
↓ 1 callers
Function
AcceptRef
basic_content/pointer_refer/copy_construct.cpp:22
↓ 1 callers
Function
AcceptVal
english/basic_content/pointer_refer/copy_construct.cpp:23
↓ 1 callers
Function
AcceptVal
basic_content/pointer_refer/copy_construct.cpp:21
↓ 1 callers
Method
Action
english/basic_content/virtual/set3/vir_con.cpp:179
↓ 1 callers
Method
Action
basic_content/virtual/set3/vir_con.cpp:134
↓ 1 callers
Function
Base
english/basic_content/struct/struct_func_func.cpp:25
↓ 1 callers
Function
Base
english/basic_content/struct/struct_func.c:14
↓ 1 callers
Function
Base
basic_content/struct/struct_func_func.cpp:23
↓ 1 callers
Function
Base
basic_content/struct/struct_func.c:15
↓ 1 callers
Function
CalArea
加关键字inline
practical_exercises/10_day_practice/day3/inline.cpp:15
↓ 1 callers
Method
ChangeAttributes
english/basic_content/virtual/set3/vir_con.cpp:56
↓ 1 callers
Method
ChangeAttributes
basic_content/virtual/set3/vir_con.cpp:56
↓ 1 callers
Method
Circumference
计算圆的周长
practical_exercises/10_day_practice/day3/pratice.cpp:27
↓ 1 callers
Method
Clone
english/basic_content/virtual/set3/vir_con.cpp:61
↓ 1 callers
Method
Clone
basic_content/virtual/set3/vir_con.cpp:58
↓ 1 callers
Method
Consume
design_pattern/producer_consumer/producer_consumer.cpp:36
↓ 1 callers
Method
Display
practical_exercises/10_day_practice/day4/friend/class.cpp:30
↓ 1 callers
Function
Distance
通过将一个模块声明为另一个模块的友元,一个模块能够引用到另一个模块中本是被隐藏的信息。
practical_exercises/10_day_practice/day4/friend/func.cpp:16
↓ 1 callers
Function
Errhandler
内部再次throw异常的时候,函数不要带throw()
practical_exercises/10_day_practice/day9/exception/7.cpp:5
↓ 1 callers
Function
Foo
函数声明
english/basic_content/inline/inline.cpp:17
↓ 1 callers
Function
Foo
函数声明
basic_content/inline/inline.cpp:16
↓ 1 callers
Function
Max
effective_cpp/2.cpp:24
↓ 1 callers
Method
Set
practical_exercises/10_day_practice/day4/friend/class.cpp:29
↓ 1 callers
Method
Where
practical_exercises/10_day_practice/day9/exception/9-2.cpp:13
↓ 1 callers
Function
_hash
cpp2.0/cpp11/variadic/variadic.cpp:17
↓ 1 callers
Function
add
english/basic_content/extern/extern_c/add.cpp:3
↓ 1 callers
Function
add
english/basic_content/extern/extern_c++/add.c:3
↓ 1 callers
Function
add
basic_content/extern/extern_c++/add.c:3
↓ 1 callers
Function
add
cpp2.0/cpp11/decltype.cpp:19
↓ 1 callers
Method
add
basic_content/const/class_const/overload_example/apple.cpp:7
↓ 1 callers
Method
bar
codingStyleIdioms/5_pImpl/pimpl.cpp:40
↓ 1 callers
Function
complicated
learn_class/modern_cpp_30/reference/ref.cpp:36
↓ 1 callers
Function
demo
english/basic_content/static/static_demo.cpp:7
↓ 1 callers
Function
demo
basic_content/static/static_demo.cpp:7
↓ 1 callers
Method
deposit
concurrency/Threading_In_CPlusPlus/4.mutex/an_example_of_bank_account.cpp:13
↓ 1 callers
Function
display
practical_exercises/10_day_practice/day4/const/obj_ref.cpp:23
↓ 1 callers
Method
display
practical_exercises/key_exercises/read_file.cpp:20
↓ 1 callers
Method
display
practical_exercises/key_exercises/bracket_overloading.cpp:34
↓ 1 callers
Method
display
practical_exercises/10_day_practice/day7/subscript_operator/subscript_operator.cpp:34
↓ 1 callers
Method
display
practical_exercises/10_day_practice/day10/file/practice.cpp:22
↓ 1 callers
Function
doA
english/basic_content/explicit/explicit.cpp:17
↓ 1 callers
Function
doA
basic_content/explicit/explicit.cpp:15
↓ 1 callers
Function
do_common_work
concurrency/concurrency_v1/chapter2/2_5_id.cpp:18
↓ 1 callers
Function
do_master_thread_work
concurrency/concurrency_v1/chapter2/2_5_id.cpp:14
↓ 1 callers
Function
do_something
concurrency/concurrency_v1/chapter2/2.1_basic.cpp:19
← previous
next →
101–200 of 1,362, ranked by callers