Subject: Re: [boost] determine first arg of callable
From: Peter Dimov (lists_at_[hidden])
Date: 2013-05-15 10:55:47


Oliver Kowalke wrote:

> template< typename Fn >
> struct D : public B
> {
> Fn fn;
>
> D( Fn fn_) : fn( fn_) {}
>
> void run() { fn(...) } // argument construction omitted
> };

You've omitted the only interesting part.