From ebfe8dc9d7093e932f91a649636e2202630cc16f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 20 Sep 2009 06:39:17 +0200 Subject: Add standard namespace traverser --- cli/context.hxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'cli/context.hxx') diff --git a/cli/context.hxx b/cli/context.hxx index 8dc9fff..c3caa73 100644 --- a/cli/context.hxx +++ b/cli/context.hxx @@ -53,4 +53,20 @@ private: operator= (context const&); }; +// Standard namespace traverser. +// +struct namespace_: traversal::namespace_, context +{ + namespace_ (context& c) + : context (c) + { + } + + virtual void + pre (type&); + + virtual void + post (type&); +}; + #endif // CLI_CONTEXT_HXX -- cgit v1.1