cpp_utils 0.1.0

Various C++-related types and functions needed for the cpp_to_rust project
Documentation

Cpp utils

This Rust crate contains various C++-related types and functions needed for the cpp_to_rust project.

Information about the big picture is available at the main repository.

CppBox

CppBox is a Rust wrapper for C++ pointers to objects created on C++ side and passed through FFI boundary. Each FFI type may provide a deleter function that calls "delete this_ptr;" on C++ side. A pointer can be converted to a CppBox object and deleted automatically when it goes out of scope, as an alternative to manual calling of deleter function.