Re:Are Implicit Operators a Path to Clean Code or a Buggy Ni...
by xy2_ on Wednesday August 09, 2023 @05:08AM
(#37060283)
I think you meant
[ Parent
| on HN ]
Re:Are Implicit Operators a Path to Clean Code or a Buggy Ni...
by MathMonkeyMan on Wednesday August 09, 2023 @06:14AM
(#37060644)
Not at all. I meant
std::common_type_t<bool, char> ii{};
Re:Are Implicit Operators a Path to Clean Code or a Buggy Ni...
by mianos on Wednesday August 09, 2023 @08:23AM
(#37061576)
Not sure this one is actually valid. You can't infer a type. Maybe in C++40 where types are so 30s?
Re:Are Implicit Operators a Path to Clean Code or a Buggy Ni...
by MathMonkeyMan on Wednesday August 09, 2023 @10:17AM
(#37063011)
C++030 is just next year!