Hi!

instantiates a class in the foo\bar namespace named buh.  In other
words, it instantiates class buh from the sub-namespace bar of namespace
foo.

Why there's "subnamespace bar of namespace foo" and not just "namespace foo\bar"? When such notation is useful?

The important line is "MyNamespace2\j" which resolves the same way as in
the C++ example.

C++ has nesting, we do not - it's the difference.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

Reply via email to