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

This is not functionally different from operator<< which std::cout has taught us is a neat trick but generally a bad idea.


Unlike the iostreams shift operators, the ranges pipe operator isn't stateful.


There's state when you try to use the final result, though. It's not threadsafe due to caching.

https://www.youtube.com/watch?v=c1gfbbE2zts




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

Search: