On Jun 23, 2016, at 2:23 AM, Félix Cloutier via swift-evolution <[email protected]> wrote:
> Is there a way to get an optional initializer that returns `nil` if the > operand can't be represented? That’s in the Arithmetic Protocol in the proposal: /// Initializes to the value of `source` if it is representable exactly, /// returns `nil` otherwise. init?<T : Integer>(exactly source: T)
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
