mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-01-11 12:28:41 +00:00
Update cpp.md
Signed-off-by: Dennis Eichhorn <spl1nes.com@googlemail.com>
This commit is contained in:
parent
07c684ba7f
commit
3113b7808b
|
|
@ -33,13 +33,15 @@ Don't use C++ templates.
|
|||
|
||||
## 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
|
||||
|
||||
### 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
|
||||
|
||||
|
|
@ -50,4 +52,4 @@ We believe this approach provides a framework for better memory management and b
|
|||
Examples for this can be:
|
||||
|
||||
* Matrix multiplication with a scalar
|
||||
* Sorting data (depends on sorting algorithm)
|
||||
* Sorting data (depends on sorting algorithm)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user