C++ Logo


Advanced search

Subject: Re: In value-initialization, why does a (unselected) user-provided or deleted default constructor prevent zero-init?
From: Tam S. B. (cpplearner_at_[hidden])
Date: 2020-12-19 02:28:25

> So is giving a class multiple default constructors, but you don't seem to have a problem doing that ;) Well, I agree that having a constructor template that can't get called is ridiculous. It's even weirder that such a constructor template actually has an effect according to the standard. I hope that the standard could be fixed so that the constructor template in question is really meaningless and effectless as it should be.

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups