Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Optional conversions

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.31 sec, absolute service time: 0,51 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp:10:12: error: no viable conversion from returned value of type 'Optional' to function return type 'bool'
    return op;
           ^~
1 error generated.