MCPcopy Create free account

hub / github.com/Light-City/CPlusPlusThings / functions

Functions1,362 in github.com/Light-City/CPlusPlusThings

↓ 2 callersMethodadd
english/basic_content/const/class_const/overload_example/main.cpp:9
↓ 2 callersMethodadd
english/basic_content/const/class_const/static_example/main.cpp:10
↓ 2 callersMethodadd
basic_content/const/class_const/first_example/apple.cpp:5
↓ 2 callersMethodadd
basic_content/const/class_const/c++11_example/apple.cpp:6
↓ 2 callersMethodadd
basic_content/const/class_const/static_example/apple.cpp:7
↓ 2 callersMethodadd_count
增加计数
learn_class/modern_cpp_30/smart_ptr/shared_ptr.cpp:11
↓ 2 callersFunctionarctan
practical_exercises/10_day_practice/day2/compute.cpp:13
↓ 2 callersFunctionbar
learn_class/modern_cpp_30/reference/forward.cpp:30
↓ 2 callersFunctioncompareMax
practical_exercises/key_exercises/func_temp.cpp:6
↓ 2 callersFunctioncreate_shape
利用多态 上转 如果返回值为shape,会存在对象切片问题。
codingStyleIdioms/3_RAII/RAII.cpp:53
↓ 2 callersFunctiondisplay
practical_exercises/10_day_practice/day8/func/sort.cpp:19
↓ 2 callersFunctionf
learn_class/modern_cpp_30/reference/collapses.cpp:9
↓ 2 callersFunctionf
practical_exercises/10_day_practice/day2/rec1.cpp:15
↓ 2 callersMethodf
english/basic_content/using/using_derived.cpp:14
↓ 2 callersMethodf
basic_content/using/using_derived.cpp:14
↓ 2 callersFunctionf3
practical_exercises/10_day_practice/day5/rela/rela.cpp:20
↓ 2 callersFunctionff
basic_content/macro/do_while.cpp:36
↓ 2 callersFunctionfoo
learn_class/modern_cpp_30/RAII/stack.cpp:10
↓ 2 callersFunctionfoo
对于修饰Object来说: const并未区分出编译期常量和运行期常量 constexpr限定在了编译期常量 constexpr作用:优化!效率! constexpr修饰的函数,返回值不一定是编译期常量。It is not a bug, it is a feature. const修饰的是类型,co
cpp2.0/cpp11/constexpr.cpp:21
↓ 2 callersMethodfoo
learn_class/modern_cpp_30/SFINAE/sfinae paper/decltype.cpp:6
↓ 2 callersFunctionforwarding
"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 callersFunctiong
learn_class/modern_cpp_30/reference/lifetime.cpp:47
↓ 2 callersMethodget
codingStyleIdioms/3_RAII/RAII.cpp:72
↓ 2 callersFunctiongetAddr
* @brief 获取vptr地址与func地址,vptr指向的是一块内存,这块内存存放的是虚函数地址,这块内存就是我们所说的虚表 * * @param obj * @param offset * * @return */
english/basic_content/vptr_vtable/vptr1.cpp:66
↓ 2 callersFunctiongetAddr
* @brief * 获取vptr地址与func地址,vptr指向的是一块内存,这块内存存放的是虚函数地址,这块内存就是我们所说的虚表 * * @param obj * @param offset * * @return */
basic_content/vptr_vtable/vptr1.cpp:42
↓ 2 callersFunctionhash_combine
cpp2.0/cpp11/hash.cpp:44
↓ 2 callersFunctionis_valid
learn_class/modern_cpp_30/SFINAE/sfinae paper/fis_valid.cpp:42
↓ 2 callersFunctionis_valid
learn_class/modern_cpp_30/SFINAE/sfinae paper/packis_valid.cpp:39
↓ 2 callersMethodlazy_launch
* this 标明按引用捕获外围对象(针对 lambda * 表达式定义出现在一个非静态类成员内的情况); 注意默认捕获符 = 和 & * 号可以自动捕获 this(并且在 C++20 之前,在 = 后写 this 会导致出错) * 本例子两次都按照第二次输出(this_threa
learn_class/modern_cpp_30/functionLambda/autoLambda.cpp:32
↓ 2 callersFunctionoutput_static_data
cpp2.0/cpp11/move.cpp:208
↓ 2 callersMethodpop
practical_exercises/key_exercises/stack.cpp:40
↓ 2 callersMethodpop
practical_exercises/10_day_practice/day8/class_template/stack.cpp:44
↓ 2 callersMethodprint
codingStyleIdioms/3_RAII/RAII.cpp:18
↓ 2 callersMethodprint
practical_exercises/10_day_practice/day4/const/obj_func.cpp:23
↓ 2 callersMethodrelease
原来的指针释放所有权
learn_class/modern_cpp_30/smart_ptr/auto_scope.cpp:33
↓ 2 callersMethodrelease
原来的指针释放所有权
learn_class/modern_cpp_30/smart_ptr/unique_ptr.cpp:38
↓ 2 callersFunctionrolldice
practical_exercises/10_day_practice/day2/shaizi.cpp:47
↓ 2 callersMethodserialize
learn_class/modern_cpp_30/SFINAE/sfinae paper/combiningAndGenius.cpp:44
↓ 2 callersMethodsetEmpty
practical_exercises/10_day_practice/day8/class_template/stack.cpp:23
↓ 2 callersMethodsety
practical_exercises/10_day_practice/day5/inherit_access/private.cpp:16
↓ 2 callersMethodshowx
practical_exercises/10_day_practice/day5/inherit_access/private.cpp:9
↓ 2 callersMethodshowy
practical_exercises/10_day_practice/day5/inherit_access/private.cpp:18
↓ 2 callersFunctionsqr
learn_class/modern_cpp_30/constexpr/sqrt.cpp:8
↓ 2 callersFunctionswap
learn_class/modern_cpp_30/smart_ptr/shared_ptr.cpp:107
↓ 2 callersMethodswap
learn_class/modern_cpp_30/smart_ptr/shared_ptr.cpp:87
↓ 2 callersMethodswap
learn_class/modern_cpp_30/smart_ptr/unique_ptr.cpp:44
↓ 2 callersMethodtest2
english/basic_content/using/derived_base.cpp:36
↓ 2 callersMethodtest2
basic_content/using/derived_base.cpp:38
↓ 2 callersMethodwho
english/basic_content/inline/inline_virtual.cpp:6
↓ 2 callersMethodwho
english/basic_content/virtual/set3/virtual_inline.cpp:16
↓ 2 callersMethodwho
english/basic_content/virtual/set3/inline_virtual.cpp:6
↓ 2 callersMethodwho
basic_content/inline/inline_virtual.cpp:5
↓ 2 callersMethodwho
basic_content/virtual/set3/virtual_inline.cpp:15
↓ 2 callersMethodwho
basic_content/virtual/set3/inline_virtual.cpp:5
↓ 1 callersFunctionAcceptRef
english/basic_content/pointer_refer/copy_construct.cpp:26
↓ 1 callersFunctionAcceptRef
basic_content/pointer_refer/copy_construct.cpp:22
↓ 1 callersFunctionAcceptVal
english/basic_content/pointer_refer/copy_construct.cpp:23
↓ 1 callersFunctionAcceptVal
basic_content/pointer_refer/copy_construct.cpp:21
↓ 1 callersMethodAction
english/basic_content/virtual/set3/vir_con.cpp:179
↓ 1 callersMethodAction
basic_content/virtual/set3/vir_con.cpp:134
↓ 1 callersFunctionBase
english/basic_content/struct/struct_func_func.cpp:25
↓ 1 callersFunctionBase
english/basic_content/struct/struct_func.c:14
↓ 1 callersFunctionBase
basic_content/struct/struct_func_func.cpp:23
↓ 1 callersFunctionBase
basic_content/struct/struct_func.c:15
↓ 1 callersFunctionCalArea
加关键字inline
practical_exercises/10_day_practice/day3/inline.cpp:15
↓ 1 callersMethodChangeAttributes
english/basic_content/virtual/set3/vir_con.cpp:56
↓ 1 callersMethodChangeAttributes
basic_content/virtual/set3/vir_con.cpp:56
↓ 1 callersMethodCircumference
计算圆的周长
practical_exercises/10_day_practice/day3/pratice.cpp:27
↓ 1 callersMethodClone
english/basic_content/virtual/set3/vir_con.cpp:61
↓ 1 callersMethodClone
basic_content/virtual/set3/vir_con.cpp:58
↓ 1 callersMethodConsume
design_pattern/producer_consumer/producer_consumer.cpp:36
↓ 1 callersMethodDisplay
practical_exercises/10_day_practice/day4/friend/class.cpp:30
↓ 1 callersFunctionDistance
通过将一个模块声明为另一个模块的友元,一个模块能够引用到另一个模块中本是被隐藏的信息。
practical_exercises/10_day_practice/day4/friend/func.cpp:16
↓ 1 callersFunctionErrhandler
内部再次throw异常的时候,函数不要带throw()
practical_exercises/10_day_practice/day9/exception/7.cpp:5
↓ 1 callersFunctionFoo
函数声明
english/basic_content/inline/inline.cpp:17
↓ 1 callersFunctionFoo
函数声明
basic_content/inline/inline.cpp:16
↓ 1 callersFunctionMax
effective_cpp/2.cpp:24
↓ 1 callersMethodSet
practical_exercises/10_day_practice/day4/friend/class.cpp:29
↓ 1 callersMethodWhere
practical_exercises/10_day_practice/day9/exception/9-2.cpp:13
↓ 1 callersFunction_hash
cpp2.0/cpp11/variadic/variadic.cpp:17
↓ 1 callersFunctionadd
english/basic_content/extern/extern_c/add.cpp:3
↓ 1 callersFunctionadd
english/basic_content/extern/extern_c++/add.c:3
↓ 1 callersFunctionadd
basic_content/extern/extern_c++/add.c:3
↓ 1 callersFunctionadd
cpp2.0/cpp11/decltype.cpp:19
↓ 1 callersMethodadd
basic_content/const/class_const/overload_example/apple.cpp:7
↓ 1 callersMethodbar
codingStyleIdioms/5_pImpl/pimpl.cpp:40
↓ 1 callersFunctioncomplicated
learn_class/modern_cpp_30/reference/ref.cpp:36
↓ 1 callersFunctiondemo
english/basic_content/static/static_demo.cpp:7
↓ 1 callersFunctiondemo
basic_content/static/static_demo.cpp:7
↓ 1 callersMethoddeposit
concurrency/Threading_In_CPlusPlus/4.mutex/an_example_of_bank_account.cpp:13
↓ 1 callersFunctiondisplay
practical_exercises/10_day_practice/day4/const/obj_ref.cpp:23
↓ 1 callersMethoddisplay
practical_exercises/key_exercises/read_file.cpp:20
↓ 1 callersMethoddisplay
practical_exercises/key_exercises/bracket_overloading.cpp:34
↓ 1 callersMethoddisplay
practical_exercises/10_day_practice/day7/subscript_operator/subscript_operator.cpp:34
↓ 1 callersMethoddisplay
practical_exercises/10_day_practice/day10/file/practice.cpp:22
↓ 1 callersFunctiondoA
english/basic_content/explicit/explicit.cpp:17
↓ 1 callersFunctiondoA
basic_content/explicit/explicit.cpp:15
↓ 1 callersFunctiondo_common_work
concurrency/concurrency_v1/chapter2/2_5_id.cpp:18
↓ 1 callersFunctiondo_master_thread_work
concurrency/concurrency_v1/chapter2/2_5_id.cpp:14
↓ 1 callersFunctiondo_something
concurrency/concurrency_v1/chapter2/2.1_basic.cpp:19
← previousnext →101–200 of 1,362, ranked by callers