Re:Are Implicit Operators a Path to Clean Code or a Buggy Ni...
by _kst_ on Wednesday August 09, 2023 @12:34AM
(#37058739)
You mean it uses `operator bool` where `bool` is the target type of the conversion, yes?
I have no problem with the idea that conversions are operators. My point is that the title suggests something far more general that what the body of the article actually discusses. If the title had said "Implicit Conversions" rather than "Implicit Operators", it would have been much clearer and I wouldn't have commented.
I have no problem with the idea that conversions are operators. My point is that the title suggests something far more general that what the body of the article actually discusses. If the title had said "Implicit Conversions" rather than "Implicit Operators", it would have been much clearer and I wouldn't have commented.