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

Re: 'indefinite' element types



P T Withington ptw@callitrope.com on  2000-07-14 11:42 wrote:

> xyzzy(make(<real-vector>, size: 1, initial-element: 0.0));
> 
> will result in an error when the actual is bound to the formal.  If the
> definition and call were separately compiled, the type error would be
> detected at compile time.

It would, if I didn't make a type-oh.  I meant:

xyzzy(make(<int-vector>, size: 1, initial-element: 0.0));



References: