Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-06-23 01:45:13


> "Guillaume Melquiond" <guillaume.melquiond_at_[hidden]> wrote in message
> news:1181463514.3871.10.camel_at_liege.msr-inria.inria.fr...
> I don't mean in general either. The example I give you is based on your
> very own files. They contain unnamed namespaces used from inline
> functions, hence they are not compliant with the C++ standard.
>
> For example, see the token_iterator.hpp file detected by the inspection
> reports. The keep_empty_tokens variable is defined in an unnamed
> namespace but used in an inline function, so the one that is passed as
> an argument to the function may not be identical to the one the function
> tests for.

After rereading this whole thread, I am still unclear: what is a proper way
to implement there stateless keywords?

Also I believe in many other places I am using type& within unnamed
namespace. This seems to be valid usage, right?

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk