Version 3 of namespace qualifiers

Updated 2015-03-16 04:27:50 by pooryorick

Synopsis

namespace qualifiers string

Description

namespace qualifiers is the complement of namespace tail. It returns the leading namespace qualifiers for string, or, when string is ::, the empty string. Qualifiers are namespace names separated by ::. The operation of namespace qualifiers is purely lexical. It does not check whether the namespace names exist.

Examples

The value of

namespace qualifiers ::foo::bar::x

is

::foo::bar

See Also

namespace