[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: icarus verilog, svector question



On Thu, Aug 05, 2004 at 06:34:06PM -0700, Stephen Williams wrote:
> | In svector.h, there is a specialization:
> | inline svector<string>::svector<string>(unsigned size)
> |
> | How bad is the speed hit from leaving this out?

> That specialization is there not for speed but for functionality.
> That case is only still used in PUdp.h. It may be possible to
> remove those last vestiges from the source.

OK.  I see how the non specialized constructor fails for strings.

I don't see how it can easily be removed from PUdp.h though, since I
expect that the ports and tinput members are important.  Perhaps it
would just be easiest to specialize svector correctly.  Either that or
use the stl list class for ports and tinput.

I'm looking into makin the non-specialized constructor work for the
string case, but so far all methods I've found are vendor specific.