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

If C++ was JavaScript you would do:

import {vector} from 'std';

Which I think is a reasonable compromise, you're only bringing vector into scope rather than all of the standard library.






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

Search: