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

Yeah, this is obviously nonsensical.

If the constructor is "default" then why do you need to explicit set it? Yeah, I know some objects don't have constructors, but it would make more sense if you had to explicit delete the default constructor, or the keyword "trivial" was used instead of default.



Idk what other language has this "default" keyword. Seems unnecessary.




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

Search: