|
constructor - What does the explicit keyword in C++ mean? - Stack Overflow
Someone posted in a comment to another question about the meaning of the explicit keyword in C++. So, what does it mean? ... Suppose you have a class String class String { public: String(int n); // allocate n bytes to the String object String(const char .
stackoverflow.com |
|