User Tools

Site Tools


coding_guidelines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
coding_guidelines [2019/02/16 07:31]
beenisss Typo in heading
coding_guidelines [2019/02/16 07:39] (current)
beenisss [Pointer, Object lifetime / Ownership]
Line 419: Line 419:
  
  
-===== Pointer, Object lifetime / Ownership ​ =====+===== Pointer, Object lifetime/​Ownership ​ =====
  
   * Follow the isocpp [[https://​github.com/​isocpp/​CppCoreGuidelines/​blob/​master/​CppCoreGuidelines.md#​es60-avoid-new-and-delete-outside-resource-management-functions | no naked new rule]]. Instead of using ''​new''​ and ''​delete''​ statements, use one of the following "smart pointers"​ to convey ownership right from the start:   * Follow the isocpp [[https://​github.com/​isocpp/​CppCoreGuidelines/​blob/​master/​CppCoreGuidelines.md#​es60-avoid-new-and-delete-outside-resource-management-functions | no naked new rule]]. Instead of using ''​new''​ and ''​delete''​ statements, use one of the following "smart pointers"​ to convey ownership right from the start:
coding_guidelines.txt ยท Last modified: 2019/02/16 07:39 by beenisss