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

There is STO library: http://github.com/lvv/sto

> E.g.: erase remove idiom

remove sub-string: string("abcd") - "cd"

> specifying begin() and end()

unary '+', '-' overloaded to return to begin()/end()

> when you mean the whole container, ...

Euler example in just one expression (with boost lambda): range(1000) | (!(_1%3) || !(_1%3)) | add



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

Search: