Re: variadic function support
Andrew Dunstan <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.patches |
|---|---|
| Message-ID | <[email protected]> |
Pavel Stehule wrote: > I afraid so Java syntax isn't good inspiration > http://www.java-tips.org/java-se-tips/java.lang/using-the-varargs-language-feature.html > http://www.clanproductions.com/java5.html > > they use symbol ... like specific synonym to []. > public Method getMethod(String name, Class... parameterTypes) > > > Well, ... is really more the equivalent of your "variadic" keyword, I think. public Method getMethod(String name, Class[] ... parameterTypes) would mean each variadic argument would be an array of Class. cheers andrew -- Sent via pgsql-patches mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-patches