Class Dune::XT::LA::internal::ScopedPythonContext¶
-
class Dune::XT::LA::internal::ScopedPythonContext¶
RAII wrapper giving a Python context manager
with-semantics from C++.Note
The GIL has to be held for the entire lifetime of an instance, including its destruction.
Method Dune::XT::LA::internal::ScopedPythonContext::operator=¶
-
ScopedPythonContext &Dune::XT::LA::internal::ScopedPythonContext::operator=(const ScopedPythonContext&) = delete¶
No documentation provided.
Constructor Dune::XT::LA::internal::ScopedPythonContext::ScopedPythonContext¶
-
explicit Dune::XT::LA::internal::ScopedPythonContext::ScopedPythonContext(pybind11::object context)¶
No documentation provided.
Constructor Dune::XT::LA::internal::ScopedPythonContext::ScopedPythonContext¶
-
Dune::XT::LA::internal::ScopedPythonContext::ScopedPythonContext(const ScopedPythonContext&) = delete¶
No documentation provided.
Destructor Dune::XT::LA::internal::ScopedPythonContext::~ScopedPythonContext¶
-
Dune::XT::LA::internal::ScopedPythonContext::~ScopedPythonContext()¶
No documentation provided.
Field Dune::XT::LA::internal::ScopedPythonContext::context_¶
-
pybind11::object Dune::XT::LA::internal::ScopedPythonContext::context_¶
No documentation provided.