RE: Problems with templates ???

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.documentation.synopsis
Message-ID <20DCDD8F0FCED411AC4D001083CF504501AA9891@MTL-EXCHANGE>
> From: Serge Iovleff [mailto:[email protected]]

> Stefan Seefeld a écrit :
> > What you are trying to do is nothing unusual and synopsis
> > should be able to deal with your code just fine. Would you mind 
> > sending me the code (i.e. sources as well as build system) so I 
> > can debug it myself ?
> > 
> 
> http://www.nongnu.org/stkpp/
> 
> Download the subproject Tcontainer

thanks. Yes, your code exposes a bug in the current parser,
so I submitted a bug report (http://synopsis.fresco.org/issues/bug43).
I'm working on a new implementation for symbol lookup, replacing
the problematic code. However, I'll try to come up with a short-term
solution, too, as the bug seems quite serious.

In a related note: you include the '.cpp' files containing
your template function definitions. You may consider removing
the 'using namespace' directives at the top of these files, as
they pollute your global namespace, probably not quite what you want.

Thanks,
		Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.