It's general advice to avoid getting uninitialized members in a class/struct. Consider the following example.
struct Foo
{
Foo(){}
int bar;
}
To follow the advice, I have to explicitly initialize bar (e.g. int bar{};).
But what if I always initialize the member by assigning a value to it right after construction (let's forget passing an assigned value as a constructor argument). Should I still follow the above recommendation here? I would still do it if there is no overhead. But, even though negligible, there has to be an associated runtime overhead due to the unused first initialization.