15 May
2013
15 May
'13
4:59 p.m.
On 15/05/13 18:30, Oliver Kowalke wrote:
void run() { Q< Arg > q; fn( q) } // argument construction omitted };
concrete implementation - calls default ctor of Q< Arg > in D::run() and passes instance of Q< Arg > to fn
How can you pass a Q<Arg> to a function expecting an Arg?