gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/cpp-utils/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp-utils/tree.h')
-rw-r--r--cpp-utils/tree.h 16
1 files changed, 0 insertions, 16 deletions
diff --git a/cpp-utils/tree.h b/cpp-utils/tree.h
index 4d546615..870013aa 100644
--- a/cpp-utils/tree.h
+++ b/cpp-utils/tree.h
@@ -69,22 +69,6 @@ namespace tree {
m_head = node_list::push_back(m_head, t);
}
};
-
- template <class base_type, class tree_data_type, class f>
- void walk_rec(node<base_type, tree_data_type> *t)
- {
- base_type *c = t->content();
- if (c)
- f::func(*c);
-
- typedef node<base_type, tree_data_type> node_type;
- list<node_type*>* ls = t->tree();
- if (ls)
- {
- for ( ; ls; ls = ls->next())
- walk_rec<base_type, tree_data_type, f> (ls->content());
- }
- }
}
#endif
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月26日 22:26:52 +0000

AltStyle によって変換されたページ (->オリジナル) /