syclreference.com
  1. SYCL
  2. | API Reference
  3. | Error handling
  4. | exception
  5. | has_context

has_context

Reports whether the exception has a context associated with it


bool has_context() const
(1)
  1. Reports whether the exception has a context associated with it
    Returns: True if a context is associated with this exception

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000