If T has a nested type executor_type, returns t.get_executor(). Otherwise returns ex.
T
executor_type
t.get_executor()
ex
static decltype(auto) get( const T & t, const Executor & ex);