Update cpp.md

Signed-off-by: Dennis Eichhorn <spl1nes.com@googlemail.com>
This commit is contained in:
Dennis Eichhorn 2024-07-28 03:03:34 +02:00 committed by GitHub
parent 07c684ba7f
commit 3113b7808b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,13 +33,15 @@ Don't use C++ templates.
## Allocation ## Allocation
Use C allocation methods for heap allocation. Use memory arenas instead of over and over manually allocating memory.
However, if neccessary use C allocation methods for heap allocation.
## Functions ## Functions
### C++ function ### C++ function
Don't use C++ standard functions or C++ functions provided by other C++ header files unless you have to work with C++ types which is often required when working with third party libraries. Don't use C++ standard library functions or C++ functions provided by other C++ header files unless you have to work with C++ types which is often required when working with third party libraries.
### Parameters ### Parameters