Jesse Phillips <jessekphillip...@gmail.com> wrote:

Can you forward declare a reference like this in D? If not does it matter what I define it to be?

struct fuse {} // Since I'm really only passing pointers to this anyway.

Sure hope this makes it work.

It's completely safe to define it like that. Just don't do 'new fuse()'
anywhere, as that would allocate the size of your empty struct. :p


Yeah, thinking about it some, I don't know how functions affect the structure, so I'll move the fields before the functions.

No changes in structure due to functions. It may be easier to read with
functions at the end, though.


--
Simen

Reply via email to