Hogwarts

zxy's personal website

0%

C++ tricks collection

Websites collection of C++ tricks that are easy to forget or seems confusing at the first sight:

Function Pointer (return type (*func ptr name)(input type))

https://www.geeksforgeeks.org/function-pointer-in-c/

Virtual Functions and Mechanism, Runtime Polymorphism

https://www.geeksforgeeks.org/virtual-functions-and-runtime-polymorphism-in-c-set-1-introduction/

https://www.geeksforgeeks.org/polymorphism-in-c/

Function Object/ Functor

https://www.geeksforgeeks.org/functors-in-cpp/

Type Inference (auto, decltype)

https://www.geeksforgeeks.org/type-inference-in-c-auto-and-decltype/

Lambda Expression

https://www.geeksforgeeks.org/lambda-expression-in-c/