On Mon, 13 Oct 2003 14:51:51 -0400 David Abrahams
<[EMAIL PROTECTED]> wrote:

> Robert Vazan <[EMAIL PROTECTED]> writes:
> 
> >>  Looking at the test matrix at boost.org, VC6 does support these classes...
> >
> > I am talking about optimizations. Templates don't have to be instantiated
> > for every type, but compilers won't realize it.
> 
> I don't know what you mean.  Nothing about the boost shared_ptr
> design causes aggressive template instantiation.

I know it, but did you test it with Gcc and VC6? The official benchmark, I
linked before, shows that Gcc slows down even if you just wrap raw pointer
in template. I don't believe that templates work. I am using them like
macros and I shift as much code as possible to non-template functions.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to