Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$ prog.cc:11:5: error: constructor for 'Proxy<int>' must explicitly initialize the reference member 'self'
Proxy() {}
^
prog.cc:25:16: note: in instantiation of member function 'Proxy<int>::Proxy' requested here
Proxy<int> x;
^
prog.cc:9:14: note: declared here
Wrap<T> &self; // If I comment this, it will work
^
1 error generated.
Exit Code:
1