mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-21 22:04:06 -06:00
Core, Doc: Polishing memory leaks article.
git-svn-id: svn://ultimatepp.org/upp/trunk@15338 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d4e5917281
commit
6e8f8adcec
1 changed files with 2 additions and 1 deletions
|
|
@ -134,7 +134,8 @@ leak detection:&]
|
|||
[s0; &]
|
||||
[s5; The alternative simpler approach is to used [* MemoryIgnoreLeaksBlock]
|
||||
structure. On construction it starts ignoring and on destruction
|
||||
it cancels ignoring statement. Example below:&]
|
||||
it cancels ignoring statement. This is the classical RAII pattern.
|
||||
Example below:&]
|
||||
[s0; &]
|
||||
[s0;l321; [C@5;1 #include <Core/Core.h>]&]
|
||||
[s7; &]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue