3 ms·
I really dislike the use of operator overloading for things like this, I prefer a more verbose but idiomatic solution.
by tonyedgecombe 12y ago
I really dislike the use of operator overloading for things like this, I prefer a more verbose but idiomatic solution.
- scott_s 12y agoUsing "|" to indicate flow of data from producer to consumer is idiomatic, if you consider the Unix command line. Personally, I find this kind of operator overloading tasteful and sensical.