4 ms·
This is not functionally different from operator<< which std::cout has taught us is a neat trick but generally a bad idea.
by inetknght 2y ago
This is not functionally different from operator<< which std::cout has taught us is a neat trick but generally a bad idea.
- senderista 2y agoUnlike the iostreams shift operators, the ranges pipe operator isn't stateful.
- jjmarr 2y agoThere'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 https://www.youtube.com/watch?v=c1gfbbE2zts