In C, we can define a struct without body in an include file and use pointer to that structure

For examples in public header file.

struct data;
data* new_data();


We can then define the elements of struct data privately inside the implementation of library.

Can we do this in D without using void* ?


Reply via email to