Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could add some function pointers to the struct initialize them and then you could do:

Array a; a.add(&a, item).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: