Yes that's exactly what i needed, thanks!
On Friday, 19 February 2016 at 21:58:24 UTC, user001 wrote:
Well struct don't have it, but i would like something like it
but only for data, i don't need functions or anything like that
just data.
[...]
How about
struct A
{
int valueA;
}
struct B
{
A a;
int valueB;
alias a
On Friday, 19 February 2016 at 21:58:24 UTC, user001 wrote:
Well struct don't have it, but i would like something like it
but only for data, i don't need functions or anything like that
just data.
struct A
{
int valueA;
}
struct B
{
A a;
int valueB
Well struct don't have it, but i would like something like it but
only for data, i don't need functions or anything like that just
data.
struct A
{
int valueA;
}
struct B
{
A a;
int valueB;
}
struct C
{
B b;
int valueC;