PData

Constructors

this
this(in typeof(this) pd)
this
this(in T val)
this
this(in T[] val)

Alias This

data

Members

Functions

opAssign
auto opAssign(in T val)
opAssign
auto opAssign(in T[] val)

Properties

as
auto as [@property getter]
as
auto as [@property getter]
as
auto as [@property getter]

Variables

data
immutable(void)[] data;

Examples

auto a = PData( [.1,.2,.3] );
assert( eq( a.as!(double[]), [.1,.2,.3] ) );
a = "hello";
assert( eq( a.as!string, "hello" ) );

Meta