online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <type_traits> using namespace std; namespace { template <typename T> using BaseDifferenceType = decltype (T{} - T{}); } int main () { using T = int; static_assert(! is_enum_v<T>); BaseDifferenceType<T> xxx {}; using aaa = conditional_t<is_enum_v<T>, underlying_type_t<T>, BaseDifferenceType<T>>; 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