rfc:generics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:generics [2016/04/25 14:58] – note about generic constructors mindplay | rfc:generics [2016/04/25 15:19] – mindplay | ||
---|---|---|---|
Line 381: | Line 381: | ||
TODO: decide whether or not [[https:// | TODO: decide whether or not [[https:// | ||
+ | |||
+ | === Multiple Constraints === | ||
+ | |||
+ | TODO: decide whether or not multiple constraints should be supported, e.g. with a Java-like syntax: | ||
+ | |||
+ | <code php> | ||
+ | class A<T> where T is T1, T is T2 { | ||
+ | // ... | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | This may relate to the [[https:// | ||
==== Autoloading ==== | ==== Autoloading ==== |
rfc/generics.txt · Last modified: 2018/06/02 17:33 by mindplay