Resource acquisition is initialization: Difference between revisions

Content deleted Content added
Hemumoo (talk | contribs)
m Fixed runon sentence caused by incorrect punctuation with a colon.
No edit summary
Line 58:
 
// |file| will be closed first when leaving scope (regardless of exception)
// |mutex| will be unlocked second (from |lock| destructor) when leaving scope
// (regardless of exception).
}