# Conditionally further constrain a generic parameter: if \<T: Constrained\> { ... }

**URL:** <https://forums.swift.org/t/conditionally-further-constrain-a-generic-parameter-if-t-constrained/15425>\
**Category:** Pitches\
**Tags:** generics\
**Created:** [August 22, 2018, 5:04pm UTC](https://forums.swift.org/t/conditionally-further-constrain-a-generic-parameter-if-t-constrained/15425 "2018-08-22T17:04:27Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jrose](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jrose/32/408_2.png) [@jrose](https://forums.swift.org/u/jrose)\
**Post date:** [August 23, 2018, 4:19pm UTC](https://forums.swift.org/t/conditionally-further-constrain-a-generic-parameter-if-t-constrained/15425/11 "2018-08-23T16:19:37Z")

</div>

Overridable methods in extensions is [also a reasonable language feature](https://forums.swift.org/t/pitch-overridable-members-in-extensions/1390), but I'd keep it separate from this.

---

_[View the full topic](https://forums.swift.org/t/conditionally-further-constrain-a-generic-parameter-if-t-constrained/15425)._
