Skip to content

Commit b9ef11e

Browse files
committed
[docs] LibraryEvolution: Typealiases are compile-time constructs.
...and therefore unversioned.
1 parent ef62e38 commit b9ef11e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/LibraryEvolution.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,17 @@ changed at all except for the following:
807807

808808
- Making a non-associative operator left- or right-associative.
809809

810+
Operator declarations are not versioned.
811+
812+
813+
Typealiases
814+
~~~~~~~~~~~
815+
816+
Like operators, typealiases only exist at compile-time, so changing them
817+
affects source compatibility but not binary compatibility. Since a typealias
818+
is only made up of its name and its type, it is recommended that it is never
819+
changed at all after being published. Typealiases are not versioned.
820+
810821

811822
A Unifying Theme
812823
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)