ocean.meta.types.Typedef

Members

Functions

castToBase
TypedefBaseType!(T) castToBase(T value)

Helper function to reduce typedef to its base value

Templates

Typedef
template Typedef(T, istring name)

Replacement for typedef which is completely deprecated. It generates usual typedef when built with D1 compiler and wrapper struct with alias this when built with D2 compiler.

Typedef
template Typedef(T, istring name, T initval)

Replacement for typedef which is completely deprecated. It generates usual typedef when built with D1 compiler and wrapper struct with alias this when built with D2 compiler.

TypedefBaseType
template TypedefBaseType(T)

Resolves to type used as first argument to Typedef!(type, name) call when defining T.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).