.. index:: pair: group; C++ RAII Wrappers .. _doxid-group__rgpot__cpp: C++ RAII Wrappers ================= .. toctree:: :hidden: class_rgpot_CalcResult.rst class_rgpot_Error.rst class_rgpot_InputSpec.rst class_rgpot_PotentialHandle.rst class_rgpot_RpcClient.rst Overview ~~~~~~~~ Safe C++ wrappers around the Rust-core C ABI. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block // classes class :ref:`rgpot::CalcResult`; class :ref:`rgpot::Error`; class :ref:`rgpot::InputSpec`; class :ref:`rgpot::PotentialHandle`; class :ref:`rgpot::RpcClient`; .. _details-group__rgpot__cpp: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Safe C++ wrappers around the Rust-core C ABI. The ``rgpot_cpp`` module provides move-only RAII handles and lightweight view/owning types that map to the C structs generated by cbindgen. Error handling is done via ``:ref:`rgpot::Error ``` exceptions, which are thrown whenever the underlying C API returns a non-success status code.