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

voidToBool

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.52 sec, absolute service time: 0,59 sec 
fork mode |  history
Error(s):
source_file.cpp:32:5: error: no matching function for call to 'voidToBoolTemplate'
    voidToBoolTemplate(lambda);
    ^~~~~~~~~~~~~~~~~~
source_file.cpp:5:6: note: candidate template ignored: could not match 'function<void (type-parameter-0-0)>' against '(lambda at source_file.cpp:25:19)'
auto voidToBoolTemplate(std::function<void(Arg)> func)
     ^
1 error generated.

        

    
                
λ
.NET NoSQL database for rapid development