23 lines
936 B
Plaintext
23 lines
936 B
Plaintext
=== on 6 Jan 2015, 10:56:15 Dinesh Bolkensteyn wrote:
|
|
I think this might make sense for Java (generics) as well [~ann.campbell.2], and perhaps also {cpp} (templates).
|
|
|
|
=== on 6 Jan 2015, 12:18:09 Ann Campbell wrote:
|
|
\[~dinesh.bolkensteyn] my understanding of this (which is admittedly very shaky) is that in the Noncompliant example there are actually 3 params: a, b, and an as-yet-unnamed param of type T. So I'm not sure how this translates to Java. But I'm happy to add {cpp} (never used templates, so I'll take your word for it. :-) )
|
|
|
|
=== on 6 Jan 2015, 12:24:58 Dinesh Bolkensteyn wrote:
|
|
Well, here would be a Java example:
|
|
|
|
|
|
----
|
|
class MyClass {
|
|
public static <T> void MyMethod() {} // Isn't <T> unused here too?
|
|
}
|
|
----
|
|
|
|
=== on 6 Jan 2015, 19:20:51 Ann Campbell wrote:
|
|
But it's not a parameter, [~dinesh.bolkensteyn]...?
|
|
|
|
=== on 7 Jan 2015, 07:52:16 Dinesh Bolkensteyn wrote:
|
|
Let's have a short call on this [~ann.campbell.2]
|
|
|