Helper function to obtain an object's associated executor.
template< typename T, typename Executor> associated_executor< T, Executor >::type get_associated_executor( const T & t, const Executor & ex, typename enable_if< is_executor< Executor >::value >::type * = 0);
associated_executor<T, Executor>::get(t, ex)