qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stitcher <astitc...@redhat.com>
Subject Re: C++ namespaces and 'using' question
Date Thu, 11 Sep 2008 15:49:36 GMT

On Thu, 2008-09-11 at 08:20 -0400, Alan Conway wrote:
> ... 2. Removing all un-necessary namespace prefixes - if you have using
> namespace qpid::framing then you can just remove all the framing::
> prefixes.
> 

To be pedantic if you have "using qpid::framing" then this tells the
compier that any unqualified reference to "framing" is actually a
reference to "qpid::framing" so you can't remove the "framing::"
prefixes. ["using qpid::framing" == namespace framing = qpid::framing"
in this context]

Andrew



Mime
View raw message