Hacker News new | ask | show | jobs
by tylerchurch 797 days ago
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.

1 comments