.. SPDX-FileCopyrightText: 2021 Intel Corporation .. .. SPDX-License-Identifier: CC-BY-4.0 .. _warning-accessor: warning_accessor Class ======================= .. rubric:: Description :class: sectiontitle The ``warning_accessor`` class provides an access (either on host or on a device) to the state of the warning flags that are handled by the corresponding warning handler. To construct an object of this class call the method ``warning_handler::get_access()`` (:ref:`warning_handler class`). .. rubric:: Include Files :class: sectiontitle ``oneapi/ipl.hpp`` .. rubric:: Domain Dependencies :class: sectiontitle Headers: ``oneapi/ipl.hpp`` Libraries: ``oneipl.lib`` .. rubric:: Syntax :class: sectiontitle .. doxygenclass:: oneapi::ipl::warning_accessor :project: oneIPL :members: