online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <iostream> #include <type_traits> #include <functional> using namespace std; int main() { auto auto_function = [](size_t n){cout << n << endl;}; std::function<void(size_t)> explicit_function = [](size_t n){cout << n << endl;}; if (std::is_same<decltype(auto_function), decltype(explicit_function)>::value) { cout<<"Functions are same type" << endl; } else { cout<<"Functions are different type" << endl; } return 0; }

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