cedric
03/04/2019, 9:47 PMa.b
or a -> b
depending on whether a
is a pointer: the compiler already knows, why put the burden on the developer? He looked at me blankly. Never received a good answer.r4zzz4k
03/05/2019, 6:50 PMoperator *
, that allows one to both use it as object (ptr.reset()
) and as a transparent pointer (ptr->fieldOfPointedType
).
As for the C itself, I'd say clarity, but automated casting and implicit void
on functions defeats that argument.