| 293 | // Helper template to run and return result. |
| 294 | auto EmptyThen = [](auto &&) noexcept {}; |
| 295 | template <typename T> inline bool isContext(T *Cxt) noexcept { |
| 296 | return (Cxt != nullptr); |
| 297 | } |
| 298 | template <typename T, typename... Args> |
| 299 | inline bool isContext(T *Cxt, Args *...Cxts) noexcept { |
| 300 | return isContext(Cxt) && isContext(Cxts...); |