[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hi everybody!




> > It's about time C++ had the "export" keyword...
> 
> Well, C++ *has* it ;)
> You mean g++, right?

Hmm why does C++ need the export keyword, exactly? Everything in C++ is
exported by default unless explicitly prevented, just as in C.

Currently most compilers have a problem with templates defined in other
modules, but this is more of a linker shortcoming than a problem with the
language...

Admittedly, I would prefer if everything was local by default, and there
was some kind of export or global keyword that could be used. Is this its
intended function?

Michael