prog.cpp: In function ‘int main()’:
prog.cpp:13: error: no match for ‘operator<<’ in ‘operator<< [with T = char [12]]((c, console()), ((const char (&)[12])"hello world")) << std::endl’
prog.cpp: In function ‘console& operator<<(console, const T&) [with T = char [12]]’:
prog.cpp:13: instantiated from here
prog.cpp:6: warning: reference to local variable ‘con’ returned