online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <array> #include <type_traits> template<std::size_t N> auto func(const int (&v)[N]) -> std::enable_if_t<N==3,void> { // do something } int main() { func({4,4,4}); // works func({4}); // no longer works }

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