bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Headers and templated classes


From: Federico Montesino Pouzols
Subject: Re: Headers and templated classes
Date: Tue, 31 Dec 2002 22:27:02 +0100
User-agent: Mutt/1.4i

On Mon, Dec 30, 2002 at 10:59:54PM +0200, Albert Strasheim wrote:
> Hello,
> 
> A few questions regarding header files and templated classes in cc++.
> 
> Firstly, what are the p[io]* headers for?
> 

        The pios* headers are a contribution by Daniel Baumann that
implements thread-safe C++ iostreams.

> Secondly, how does one actually use a header in the template directory 
> when building something in the demo directory? You can't exactly 
> #include it in the standard way, unless I am mistaken? Seems you 
> would have to make install cc++ first -- not always convenient.
> 
> IMHO, the reasons given in the README for keeping the templated and 
> non-templated code seperate are not entirely valid. It is quite common 
> for code that was once "normal" to be extended in future to support 
> templating. Should this code then be moved? I think not.
> 

        I think you are right, I do not see any simple way to use the
templates in demo or tests apps. Probably the reasons why David put
the templates there are no longer valid and we should move them?

> Cheers,
> 
> Albert
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]