Searched refs:ScopeGuard (Results 1 – 17 of 17) sorted by relevance
17 struct ScopeGuard // no copy/move ctor/assign struct20 explicit ScopeGuard(int v) : val_(v) {} in ScopeGuard() argument25 ScopeGuard(ScopeGuard const&); argument26 void operator=(ScopeGuard const&);88 int& val(ScopeGuard& g) { return g.val(); } in val()94 const int& val(const ScopeGuard& g) { return g.val(); } in val()98 bool operator==(const ScopeGuard& l, const ScopeGuard& r) { return l.val() == r.val(); } in operator ==()101 bool operator<(const ScopeGuard& l, const ScopeGuard& r) { return l.val() < r.val(); } in operator <()
35 test_all_const_cases<ScopeGuard>(); in main()
40 test_optional_ref_assignment<ScopeGuard>(); in main()
105 test_all_const_cases<ScopeGuard>(); in main()
483 test_optional_ref<ScopeGuard>(); in main()488 test_optional_const_ref<ScopeGuard>(); in main()
60 class ScopeGuard {62 explicit ScopeGuard(const ScopePtr &scope) { in ScopeGuard() function66 ~ScopeGuard() { ScopeManager::GetInstance().LeaveScope(scope_); } in ~ScopeGuard()
25 ScopeGuard scope_guard(vnode->scope()); in ExpandJPrimitive()88 ScopeGuard scope_guard(vnode->scope()); in ExpandJ()
136 ScopeGuard scope_guard(scope); in operator()
291 ScopeGuard scope_guard(scope); in operator()
707 ScopeGuard scope_guard(scope); in operator()
257 ScopeGuard scope_guard(morph->scope()); in MapMorphism()520 ScopeGuard scope_guard(primal->scope()); in MapPrimitiveToK()546 ScopeGuard scope_guard(primal->scope()); in MapFuncGraphToK()573 ScopeGuard scope_guard(primal->scope()); in MapParameterToK()584 ScopeGuard scope_guard(node->scope()); in MapFvObject()611 ScopeGuard scope_guard(p->scope()); in MapParamObject()
263 ScopeGuard scope_guard(scope); in GetBprop()
305 ScopeGuard scope_guard(node->scope()); in ProcessNode()434 ScopeGuard scope_guard(node->scope()); in BuildSpecializedNode()550 ScopeGuard scope_guard(new_node->scope()); in BuildSpecializedParameterNode()
94 ScopeGuard scope_guard(scope); in Run()196 ScopeGuard scope_guard(scope); in Run()277 ScopeGuard scope_guard(scope); in Run()1007 ScopeGuard scope_guard(scope); in StaticGetter()1418 ScopeGuard scope_guard(scope); in HandleDoSignature()
293 ScopeGuard scope_guard(node->scope()); in ResolveObjectAndAddToManager()
264 ScopeGuard scope_guard(scope); in ParseFunction()
42 [def __ScopeGuard__ [@http://www.ddj.com/dept/cpp/184403758 ScopeGuard]]