Execute the function on the target executor.
template< typename Function> void execute( Function && f) const;
Throws bad_executor if the polymorphic wrapper has no target.
bad_executor