Well, we may ask: Why do we have openArray proc parameter type at all, when varargs works for multiple arguments, for a seq and for an array? So varargs should be able to fully substitute openArray parameter type. Maybe varargs has more overhead, or maybe there exists cases where we want to allow passing an array or a seq, but not multiple individual parameters?
- Why does the this code work? sigmapie8
- Re: Why does the this code work? dawkot
- Re: Why does the this code work? sigmapie8
- Re: Why does the this code work? Stefan_Salewski
- Re: Why does the this code work? dawkot
- Re: Why does the this code work? doofenstein
- Re: Why does the this code work? cumulonimbus
- Re: Why does the this code w... lscrd
- Re: Why does the this code w... cumulonimbus
- Re: Why does the this code w... lscrd
- Re: Why does the this code w... mratsim
- Re: Why does the this code w... cumulonimbus
- Re: Why does the this code w... Araq
- Re: Why does the this code w... lscrd