Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
MathMonkeyMan
· 3y ago · 0 comments
I think you meant
int ii{};
Comments
[–]
xy2_
3y ago
I think you meant
auto ii{};
[–]
MathMonkeyMan
OP
3y ago
Not at all. I meant
std::common_type_t<bool, char> ii{};
[–]
mianos
3y ago
Not sure this one is actually valid. You can't infer a type. Maybe in C++40 where types are so 30s?
[–]
MathMonkeyMan
OP
3y ago
C++030 is just next year!