1 2 3 4 5 6 7 8 9 10 11
class C { public: explicit C(int) {} }; int main() { int i = 0; static_cast<C>(i); return 0; }