On Wed, 2009-09-09 at 11:17 -0400, Jonathan Robie wrote: > Alan Conway wrote: > > Thinking about examples and not sure if they should be in a > > qpid::example namespace. We don't want to imply that users should put > > their code in a qpid namespace, and it changes name resolution a bit > > which could create some confusion, e.g. if an example is missingn a > > using declaration that would be required by code not in a qpid:: > > namespace. > > > > I'm 100% in favour of a test namespace, and I think the original > > motivation was about tests not examples. > > I misunderstood the original proposal then, I thought he meant to put > both in the same namesapce. > > I like your proposal - put the tests in a namespace, but not the examples.
I have to say that my original proposal would be to put all the code into an appropriate namespace including examples. I was thinking of qpid::examples for the examples. But on the whole I agree with Alan that we want to keep the examples free of extraneous stuff which might distract and confuse. So I'll just deal with the code in the test area. Andrew --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
