mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
doc/faq: update generics entry to reflect accepted proposal
For #43651 Change-Id: Idb511f4c759d9a77de289938c19c2c1d4a542a17 Reviewed-on: https://go-review.googlesource.com/c/go/+/291990 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
852ce7c212
commit
33d72fd412
1 changed files with 4 additions and 2 deletions
|
|
@ -446,8 +446,10 @@ they compensate in interesting ways for the lack of <var>X</var>.
|
|||
<h3 id="generics">
|
||||
Why does Go not have generic types?</h3>
|
||||
<p>
|
||||
Generics may well be added at some point. We don't feel an urgency for
|
||||
them, although we understand some programmers do.
|
||||
A <a href="https://golang.org/issue/43651">language proposal
|
||||
implementing a form of generic types</a> has been accepted for
|
||||
inclusion in the language.
|
||||
If all goes well it will be available in the Go 1.18 release.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue