Yeah I want a protocol (In this case Unit) expression that says if the
class implementing this protocol has an associated type which is a
SignedIntegerType and it is initialized with a SignedIntegerType.
Then it should set the property value (Which should be the same type as the
assosiated type) with that SignedIntegerType
On Thu, Jan 7, 2016 at 4:33 PM, Guillaume Lessard < firstname.lastname@example.org> wrote:
You can do that if your constraining protocol defines an initializer with
the desired signature.
I tried with both a struct extension and a protocol extension, no problem.
Is this about modifying the interface of SignedIntegerType, then?
+44 7523 279 698