struct Triple { int x, y, z; }; const extern Triple t { 1, 2, 3 }; template<Triple const& t>class Foo { }; Foo<t> f; int main(){ }
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!