struct to { to(int) {}};struct a_to { explicit a_to(int) {}}; to dziala = 99;a_to nie = 666;
Standard input is empty
prog.cpp:9: error: conversion from ‘int’ to non-scalar type ‘a_to’ requested
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!