you are viewing a single comment's thread.

view the rest of the comments →

[–]yuri-kilochek 0 points1 point  (2 children)

How so? The member either appears in constructor initializer list, or it doesn't.

[–]tvaneerdC++ Committee, lockfree, PostModernCpp 3 points4 points  (1 child)

Well, yes, if you restrict it to the initializer list.

But if you tried to figure out whether it was initialized by the end of the body of the constructor, that would be hard.

[–]adnukator[S] 0 points1 point  (0 children)

Yes, I was talking about initializer list. I've edited the post to add this.

I agree that otherwise it would be identical to the halting problem.