# C++ function template specialization and generic functions in Swift

**URL:** <https://forums.swift.org/t/c-function-template-specialization-and-generic-functions-in-swift/42016>\
**Category:** Pitches\
**Tags:** generics, cxx, cxx-interop\
**Created:** [November 14, 2020, 10:38pm UTC](https://forums.swift.org/t/c-function-template-specialization-and-generic-functions-in-swift/42016 "2020-11-14T22:38:01Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![zoecarver](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/zoecarver/32/21535_2.png) [@zoecarver](https://forums.swift.org/u/zoecarver)\
**Post date:** [April 10, 2021, 11:30pm UTC](https://forums.swift.org/t/c-function-template-specialization-and-generic-functions-in-swift/42016/35 "2021-04-10T23:30:35Z")

</div>

No worries. I'd love to hear what you're thinking, that sounds awesome. Want to discuss here? (I can also create a new thread if you'd like.)

For the record, I have [this patch](https://github.com/apple/swift/pull/36425) and [this post](https://forums.swift.org/t/adding-a-new-semantics-attribute-must-specialize/45516/7) describing what I think the best next steps are for _function_ templates. This might not be the long term strategy, but I think it will help move us forward for the time being (and might be used _with_ future designs).

---

_[View the full topic](https://forums.swift.org/t/c-function-template-specialization-and-generic-functions-in-swift/42016)._
