Thursday 6 April 2017

c++ - explicit & implicit constructors

I've read a number of questions on stackoverflow regarding implicit and explicit constructors, but I'm still having trouble distinguishing between an implicit and explicit constructors.



I was wondering if someone could give me a good definition and some examples or maybe direct me to a book / resources that explains this concept well

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...