Hacker News new | ask | show | jobs
by inetknght 427 days ago
This is not functionally different from operator<< which std::cout has taught us is a neat trick but generally a bad idea.
1 comments

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