Alternative pattern for create init etc
Closed this issue · 1 comments
thradams commented
Automatic pattern is used when we don't have the information.
but we also can specify by type.
X_Create(
Create_X(
X_create(
create_X(
struct X
{
..
//has X_Init set
}
void X_Init(struct X* p) : init ;
void X_Init(struct X* p) default;
void X_Init(struct X* p) default
{
}
void X_Init(struct X* p) : init default
{
}
thradams commented
Implemented