online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <functional> template < typename R, typename ... Args > R wrapper (std::function < R (Args ...) > f, Args ... args) { auto ret = f (args ...); return ret; } int f1 (int a, int b) { return a + b; } int main () { // wrapper(f1, 5, 10); wrapper (std::function < int (int, int) > (f1), 5, 10); }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue