Add notes

This commit is contained in:
Valk Richard Li
2019-11-14 19:29:43 +08:00
committed by GitHub
parent 000e92d273
commit 6ea8047085
9 changed files with 177 additions and 78 deletions
+8
View File
@@ -6,6 +6,14 @@ class balloon_scope
private:
std::list<var> global;
std::list<std::list<std::list<var> > > scope_list;
/*
example:
std::list<var> global // global scope
std::list<std::list<std::list<var> > > // total scope
-> std::list<std::list<var> > // block scope
->std::list<var> // local scope
-> var -> var -> var -> var
*/
public:
void set_clear()
{