2 ms·
There is STO library: http://github.com/lvv/sto http://github.com/lvv/sto > E.g.: erase remove idiom remove sub-string: string("abcd") - "cd" > specifying be
by akaus 14y ago
There is STO library: http://github.com/lvv/sto 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