NamedType

Undocumented in source.
struct NamedType (
T
TagT = Tag!(T.stringof)
T init = T.init
TraitsT...
) if (
is(TagT : Tag!U, )
) {}

Constructors

this
this()
Undocumented in source.
this
this(T v)
Undocumented in source.
this
this(NamedType!(T, Tag, init, Traits) v)
Undocumented in source.

Alias This

get

Members

Aliases

Tag
alias Tag = TagT
Undocumented in source.
ThisT
alias ThisT = typeof(this)
Undocumented in source.
Traits
alias Traits = TraitsT
Undocumented in source.
Type
alias Type = T

The underlying type.

Functions

empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
get
inout(T) get()

The underlying value.

getPtr
T* getPtr()

Useful for e.g. getopt integration

length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto opBinary(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto opBinary(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto opBinary(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto opBinary(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto opBinary(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
T opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
auto opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
auto opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(Writer w, FormatSpec!char fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(Writer w, FormatSpec!char fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

argument
EmulateNamedArgument argument(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
make
typeof(this) make(T v)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

ReplaceTrait
template ReplaceTrait(T)
Undocumented in source.

Meta