MCPcopy Create free account

hub / github.com/caiorss/C-Cpp-Notes / functions

Functions864 in github.com/caiorss/C-Cpp-Notes

↓ 60 callersMethodsize
src/design-patterns/copy-swap1.cpp:135
↓ 49 callersFunctiondisp
src/boost/boost-operators.cpp:37
↓ 36 callersMethodend
src/design-patterns/composite1.cpp:37
↓ 32 callersMethodbegin
src/design-patterns/composite1.cpp:34
↓ 17 callersMethodget
src/move_member_funcs.cpp:82
↓ 17 callersFunctionvoid2cpl
Convert a void pointer to gsl_complex
dotnet-cpp-ffi1/gslAdapter.c:32
↓ 16 callersMethodpop
src/sample-programs/rpn-calculator.cpp:242
↓ 16 callersMethodprintRow
src/numeric-limits.cpp:23
↓ 13 callersFunctionswap
std::swap overload - Implementation of => friend void swap(String& lhs, String& rhs)
src/design-patterns/copy-swap1.cpp:90
↓ 12 callersMethodaccept
src/design-patterns/visitor1.cpp:59
↓ 12 callersMethodpush
Composition and delegation
src/sample-programs/rpn-calculator.cpp:239
↓ 11 callersFunctionfor_each
src/template-iterator-container.cpp:64
↓ 11 callersMethodprint
src/cppVector2D.cpp:71
↓ 10 callersMethodget
src/windows/showModulesDLL.cpp:23
↓ 10 callersMethodspeakWithUser
src/object-lifecycle.cpp:56
↓ 9 callersMethodaddFunction
src/sample-programs/rpn-calculator.cpp:224
↓ 9 callersMethodget
src/dlls/example-windows1/testlib.cpp:170
↓ 9 callersMethodname
src/smart_ptr_shared1.cpp:52
↓ 8 callersMethoddata
src/design-patterns/copy-swap1.cpp:140
↓ 8 callersMethodengine_type
src/smart_ptr_unique1.cpp:111
↓ 8 callersMethodget
src/design-patterns/visitor2.cpp:66
↓ 8 callersMethodgetType
src/sample-programs/rpn-calculator.cpp:32
↓ 8 callersMethodrun_engine
src/smart_ptr_unique1.cpp:92
↓ 8 callersMethodtype
Override keyword is optional, but it is recommended in C++11
src/smart_ptr_shared1.cpp:47
↓ 7 callersMethodclear
src/design-patterns/composite1.cpp:41
↓ 7 callersMethodgetID
src/boost/boost-pointer-container.cpp:37
↓ 7 callersMethodhas_engine
Check if the car has an engine
src/smart_ptr_unique1.cpp:121
↓ 7 callersMethodsize
src/design-patterns/interface-class.cpp:61
↓ 7 callersMethodvisit
src/design-patterns/visitor-instrospection.cpp:77
↓ 7 callersFunctionwriteVector
src/design-patterns/polymorphic-io1.cpp:64
↓ 6 callersMethodaddFile
src/design-patterns/singleton1.cpp:55
↓ 6 callersMethoddescribe
src/design-patterns/visitor-instrospection.cpp:162
↓ 6 callersMethodempty
src/sample-programs/rpn-calculator.cpp:114
↓ 6 callersMethodget
src/design-patterns/visitor1.cpp:122
↓ 6 callersMethodgetType
src/boost/boost-pointer-container.cpp:34
↓ 6 callersMethodname
src/design-patterns/strategy-pattern1.cpp:51
↓ 6 callersMethodpush
src/design-patterns/interface-class.cpp:64
↓ 6 callersMethodset_engine
Set a new engine.
src/smart_ptr_unique1.cpp:99
↓ 6 callersFunctionstack_sum
src/design-patterns/interface-class.cpp:83
↓ 6 callersMethodtype
src/design-patterns/composite1.cpp:99
↓ 5 callersMethodRun
Start process without waiting for its termination. */
src/windows/winprocess.cpp:219
↓ 5 callersMethodaddConstant
src/sample-programs/rpn-calculator.cpp:215
↓ 5 callersMethodcompute
src/design-patterns/strategy-pattern1.cpp:36
↓ 5 callersFunctionfactorialB
Version B => Since C++14 (Not possible in C++11)
src/constexpr-function.cpp:41
↓ 5 callersMethodgetID
src/dlls/example-windows1/testlib.cpp:244
↓ 5 callersMethodsetStrategy
src/design-patterns/strategy-pattern1.cpp:30
↓ 5 callersFunctiontabulate
src/lambda-bind.cpp:161
↓ 5 callersFunctiontabulateStatic
src/cpp-functor.cpp:116
↓ 4 callersMethodaccept
src/design-patterns/visitor2.cpp:30
↓ 4 callersMethodadd
src/design-patterns/composite1.cpp:47
↓ 4 callersMethodclear
src/sample-programs/rpn-calculator.cpp:115
↓ 4 callersMethoddraw
src/design-patterns/composite1.cpp:102
↓ 4 callersFunctionfactorialA
Version A =>
src/constexpr-function.cpp:31
↓ 4 callersMethodfield
src/design-patterns/visitor-instrospection.cpp:83
↓ 4 callersFunctiongetEnvVar
src/cpp17/optional1.cpp:55
↓ 4 callersMethodgetType
src/design-patterns/factory-pattern1.cpp:90
↓ 4 callersFunctioninvokeMemberFun3
src/member-function-pointer.cpp:60
↓ 4 callersMethodnorm
src/boost/boost-operators.cpp:84
↓ 4 callersFunctionparseDouble
src/cpp17/optional1.cpp:43
↓ 4 callersFunctionprintContainer
src/template-iterator-container.cpp:38
↓ 4 callersFunctionprintContainer2
src/template-iterator-container.cpp:48
↓ 4 callersFunctionprintIfPrintableA
src/sfinae-print.cpp:28
↓ 4 callersFunctionprintIfPrintableB
src/sfinae-print.cpp:50
↓ 4 callersFunctionprintIfPrintableC
src/sfinae-print.cpp:72
↓ 4 callersFunctionprintIfPrintableD
src/sfinae-print.cpp:91
↓ 4 callersFunctionprintVector1
src/cppStlVector.cpp:32
↓ 4 callersFunctionprintVector2
src/cppStlVector.cpp:42
↓ 4 callersFunctionshowTm
dotnet-cpp-ffi1/time1.c:4
↓ 4 callersMethodshowType
src/design-patterns/factory-universal1.cpp:169
↓ 4 callersMethodsize
src/sample-programs/rpn-calculator.cpp:113
↓ 4 callersFunctionsumContainer
src/template-iterator-container.cpp:20
↓ 4 callersMethodwhat
src/sample-programs/rpn-calculator.cpp:94
↓ 3 callersFunctionabs
src/operator-overload1.cpp:47
↓ 3 callersMethodbegin
src/iterator-numeric-range1.cpp:88
↓ 3 callersFunctiondisplay
src/cpp17/variant.cpp:99
↓ 3 callersMethodend
src/iterator-numeric-range1.cpp:93
↓ 3 callersFunctionfactoryFunction
src/smart_ptr_unique1.cpp:132
↓ 3 callersFunctionfactoryFunction
For the factory function use std::unique_ptr instead of shared_ptr as * it is easier to convert unique_ptr to shared_ptr than the other way around.
src/smart_ptr_shared1.cpp:122
↓ 3 callersFunctionfoldRange
src/template-hof1.cpp:36
↓ 3 callersMethodgetArea
src/design-patterns/visitor1.cpp:95
↓ 3 callersMethodgetName
src/dlls/example-windows1/testlib.cpp:167
↓ 3 callersMethodgetName
src/design-patterns/type-erasure1.cpp:76
↓ 3 callersFunctioninvokeMemberFun
src/member-function-pointer.cpp:48
↓ 3 callersFunctioninvokeMemberFun2
src/member-function-pointer.cpp:55
↓ 3 callersFunctionis_lvalue_or_rvalue
src/move_member_funcs.cpp:95
↓ 3 callersFunctionmakeCommand
src/template-variadic.cpp:42
↓ 3 callersFunctionmake_object
src/move_member_funcs.cpp:86
↓ 3 callersMethodmethod1
src/lambda-bind.cpp:41
↓ 3 callersFunctionnum2hexstr
src/numerics/decompose_binary32flt.cpp:21
↓ 3 callersFunctionprintContainer
src/template-variadic.cpp:98
↓ 3 callersFunctionreadVector
src/design-patterns/polymorphic-io1.cpp:78
↓ 3 callersMethodrotate
src/design-patterns/composite1.cpp:105
↓ 3 callersMethodsendTextLine
src/sample-programs/bsd-socket-shell.cpp:197
↓ 3 callersMethodset
src/gsl-vector-wrapper.cpp:97
↓ 3 callersMethodshow
src/new-delete-experiment1.cpp:23
↓ 3 callersFunctionsum
src/testing.cpp:4
↓ 3 callersMethodsummation
src/design-patterns/crtp1.cpp:18
↓ 3 callersFunctionutf8_encode
src/windows/showModulesDLL.cpp:107
↓ 3 callersMethodvisit
src/design-patterns/visitor2.cpp:74
↓ 3 callersMethodvisit
src/design-patterns/visitor1.cpp:132
next →1–100 of 864, ranked by callers