{"json_modified": "2016-05-11T01:33:45.954271", "uuid": "394b9a99-7a37-4c9a-ae62-a4b91a5ae573", "title": "Using RAII classes in Mozilla", "url": "/en-US/docs/Mozilla/RAII_classes", "tags": [], "translations": [], "modified": "2016-05-11T01:33:46", "label": "Using RAII classes in Mozilla", "localization_tags": [], "locale": "en-US", "id": 5568, "last_edit": "2016-05-11T01:33:45", "summary": "RAII classes are useful when two operations (e.g., Lock/Unlock, AddRef/Release, PushState/PopState) must be paired.", "sections": [{"id": "Ensuring_RAII_classes_are_not_used_as_temporaries", "title": "Ensuring RAII classes are not used as temporaries"}, {"id": "Static_Analysis", "title": "Static Analysis"}, {"id": "Assertions", "title": "Assertions"}], "slug": "Mozilla/RAII_classes", "review_tags": []}