struct A
{
const (void *) p;
}
struct B
{
A a;
this(void * _p)
{
a.p = _p;
}
}I cannot change the definition of A how do I initialise b.a.p?
Nicholas Wilson via Digitalmars-d-learn Thu, 25 Feb 2016 18:36:45 -0800
struct A
{
const (void *) p;
}
struct B
{
A a;
this(void * _p)
{
a.p = _p;
}
}I cannot change the definition of A how do I initialise b.a.p?