New course! Every coder should learn Generative AI!
Try a free lesson+ 2
The left and right hand side of the : in the conditional or ternary operator have to return the same type or be convertible to each other. ( when std::common_type<L,R>::type compiles in this case )
0
Node is a class?