C++ keywork explicit
最近code的时候遇到一个warning,虽然不是error,但是也值得好好说一下:Warning: Single-argument constructors must be marked explicit to avoid unintentional implicit conversions在之前的文章中谈到了implicit conversion和operator conversion...