fork download
  1. struct to {
  2. to(int) {}
  3. };
  4. struct a_to {
  5. explicit a_to(int) {}
  6. };
  7.  
  8. to dziala = 99;
  9. a_to nie = 666;
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:9: error: conversion from ‘int’ to non-scalar type ‘a_to’ requested
stdout
Standard output is empty