I read somewhere, thought it was the C++ standard but can't find it now,
could have been comp.lang.c++.moderated too, a statement that
using-directives are necessary but evil, and that lists of
using-declarations are the 'expected' usage, i.e.

        using XERCES???::XercesDomParser;
        using ...
        // &c ad nauseam, i.e. everthing exported by the header file we're
now in

rather than a single:

        using namespace XERCES???;

We do this here and it solves both problems (provided you don't forget a
using-declaration). However it does seem to annoy MSVC7 a bit, in that it
incorrectly claims that some of our using-declarations are multiple
declarations.

EJP


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to