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

I know. I wasn't really replying to that, though.

The standard library actually does have a built in container that's (almost) exactly as you describe, though. It's called std::deque (http://www.cplusplus.com/reference/deque/deque/).



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

Search: