Q:

Why do you think vector defines its single-argument constructor as explicit, but string does not

0

Why do you think vector defines its single-argument constructor as explicit, but string does not?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Because semantically speaking, a number is different from a vector, but a char array is the same as a string.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now