PData

Constructors

this
this(in Unqual!(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] );
assertEq( a.as!(double[]), [.1,.2,.3] );
a = "hello";
assertEq( a.as!string, "hello" );

Meta