diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-08 14:51:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-27 11:38:53 +0300 |
commit | 720c5a33b6a49cf328fdd7611f49153cf8f60247 (patch) | |
tree | 9725f3d1f42ec90fde84520f49647edea013ce5e /cli/cli/traversal/namespace.cxx | |
parent | 3183f3bb927a90783ae0aeaf190a0919377aabe4 (diff) |
Separate tests and examples into individual packages
Also make cli module to be explicitly enabled via the config.cli configuration
variable.
Diffstat (limited to 'cli/cli/traversal/namespace.cxx')
-rw-r--r-- | cli/cli/traversal/namespace.cxx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cli/cli/traversal/namespace.cxx b/cli/cli/traversal/namespace.cxx new file mode 100644 index 0000000..c938f77 --- /dev/null +++ b/cli/cli/traversal/namespace.cxx @@ -0,0 +1,26 @@ +// file : cli/traversal/namespace.cxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// license : MIT; see accompanying LICENSE file + +#include <cli/traversal/namespace.hxx> + +namespace traversal +{ + void namespace_:: + traverse (type& n) + { + pre (n); + names (n); + post (n); + } + + void namespace_:: + pre (type&) + { + } + + void namespace_:: + post (type&) + { + } +} |