mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
sumtype: add list of examples to module doc
This will hopefully make it easier for readers to notice that all of these examples exist.
This commit is contained in:
parent
1aa99f8e3f
commit
ed91e50deb
1 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,15 @@ include:
|
|||
* No dependency on runtime type information (`TypeInfo`).
|
||||
* Compatibility with BetterC.
|
||||
|
||||
$(H3 List of examples)
|
||||
|
||||
* [Basic usage](#basic-usage)
|
||||
* [Matching with an overload set](#matching-with-an-overload-set)
|
||||
* [Recursive SumTypes](#recursive-sumtypes)
|
||||
* [Memory corruption](#memory-corruption) (why assignment can be `@system`)
|
||||
* [Avoiding unintentional matches](#avoiding-unintentional-matches)
|
||||
* [Multiple dispatch](#multiple-dispatch)
|
||||
|
||||
License: Boost License 1.0
|
||||
Authors: Paul Backus
|
||||
Source: $(PHOBOSSRC std/sumtype.d)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue