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

the other difference in RAII destructor cannot be turned off. In cake the same object can be a "view"

    struct X x = {0};
    //...
    view struct X x2 = x;
    destroy(&x);
    //x2 does not need destructor


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

Search: