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

Yes, that's why I used the 'incomplete' keyword. Of course you can only pass around pointers and references to incomplete classes (although there might be ways around that).

Base classes almost work, but you either need all your functions to be virtual or you need to play nasty casts in your member functions.

re std fwds, typically the forwarding is needed when specializing traits while metaprogramming.



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

Search: