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.typecons.

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.typecons only allows for classes to use the wrap functionality.

Functions

NameDescription
makeFinal(t) Type constructor for final (aka head-const) variables.
unwrap(src) Extract object previously wrapped by wrap.
unwrap(src) Extract object previously wrapped by wrap.

Templates

NameDescription
wrap

Aliases

NameTypeDescription
Final T Type constructor for final (aka head-const) variables.

Authors

Andrei Alexandrescu, Bartosz Milewski, Don Clugston, Shin Fujishiro, Kenji Hara

License

Boost License 1.0.