View source code
Display the source code in std/experimental/typecons.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Module std.experimental.typecons
This module implements experimental additions/modifications to std
.
Use this module to test out new functionality for wrap
which allows for a struct to be wrapped against an interface; the
implementation in std
only allows for classes to use the wrap
functionality.
Functions
Name | Description |
---|---|
makeFinal(t)
|
Type constructor for final (aka head-const) variables. |
unwrap(src)
|
Extract object previously wrapped by wrap .
|
Templates
Name | Description |
---|---|
wrap
|
Aliases
Name | Type | Description |
---|---|---|
Final
|
T
|
Type constructor for final (aka head-const) variables. |
Authors
Andrei Alexandrescu, Bartosz Milewski, Don Clugston, Shin Fujishiro, Kenji Hara
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.