std.experimental.typecons

This module implements experimental additions/modifications to std.typecons.

Use this module to test out new functionality for std.typecons.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.

Members

Functions

makeFinal
Final!T makeFinal(T t)

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

unwrap
inout(Target) unwrap(Source src)

Extract object previously wrapped by wrap.

Templates

Final
template Final(T)

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

wrap
template wrap(Targets...)

Meta

Authors

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

Suggestion Box / Bug Report