Thursday, 25 August 2016

C++ Explicit Constructor

List 5 cases when implicit conversion is performed.
List 6 cases when copy initialization is performed.
What is the purpose of explicit constructor?



References:
http://en.cppreference.com/w/cpp/language/implicit_conversion
http://en.cppreference.com/w/cpp/language/copy_initialization

No comments:

Post a Comment