Search Results


std.​typecons

This module implements a variety of type constructors, i.e., templates that allow construction of new, useful general-purpose types.


std.​experimental.​all.​std.​typecons

std.​range.​std.​typecons

std.​typecons.​Unique.​this

Constructor that takes an rvalue. It will ensure uniqueness, as long as the rvalue isn't just a view on an lvalue (e.g., a cast). Typical usage:


std.​typecons.​Unique.​__anonymous

Forwards member access to contents.


std.​typecons.​Unique.​release

Transfer ownership to a Unique rvalue. Nullifies the current contents. Same as calling std.algorithm.move on it.


std.​typecons.​Unique.​opAssign

Transfer ownership from a Unique of a type that is convertible to our type.


std.​typecons.​Unique.​RefT

Represents a reference to T. Resolves to T* if T is a value type.


std.​typecons.​Unique.​this(this)

Postblit operator is undefined to prevent the cloning of Unique objects.

Suggestion Box / Bug Report