Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-04-12 20:52:48

Paul Mensonides wrote:
> Joel de Guzman wrote:
>> Looks good. But why not overload the name "namespace" in as much
>> as the CPP overloads #if #else ? I think the syntax should give a
>> nice feeling since it is already looks like something C++
>> programmers are
>> already accustomed to:
>> Either way, any syntax will do as long as it works :) If you really
>> want to go the import/export route, consider a modula-2-ish syntax:
> I actual names of the directives I don't really care about.
> #region/#endreg, #scope/#endscope, #module/#endmodule are all fine
> with me. I don't personally like #namespace/#endnamespace, but I
> could live with it. What I want (and what we need) is the more
> general mechanism allowing named scopes. My proposal, including
> import/export, would allow both the current model and the more
> general model.

Yes.... It's the bicycle shed... again :-) Whichever will do. I do think that
the modula-ish export/import is nice. Modula-2's module mechanism is
already very mature so I guess if it's based on it, we are on the right track.
Now that there's Wave, I guess there's no harm and we can start experimenting
on this.


Joel de Guzman
joel at

Boost list run by bdawes at, gregod at, cpdaniel at, john at