This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Problems with the new concepts checking code (boost)
Phil Edwards <pedwards@disaster.jaj.com> writes:
| On Mon, Apr 09, 2001 at 11:48:36PM +0200, Gabriel Dos Reis wrote:
| > Thanks. Please make sure the library doesn't use identifiers in
| > user-namespace, that is using glibcpp_function_requires for example is
| > not right. Thats is why the library has always been "uglified".
|
| Oh, I took care not to step on toes, at least I hope I did.
The following does not work
#define function_requires 1
#include <vector>
int main() { }
| .... The calls
| to glibcpp_* are macros. (For this one, it expands into a call to
| boost::function_requires().) All of them expand into things which are
| fully-qualified by the boost namespace; we never use any 'using' statements
| of any kind.
CPP has no notion of `using' -- it just has no notion of C++ scope.
| The only user namespace we have to worry about is boost itself, which
| could be a concern.
No, we need to take more care. This issue is already cut down in the
section `Name patterns' of docs/html/17_intro/C++STYLE.
-- Gaby