#vtable #cpp #class #oop

cpp_oop

cpp inheritance with vtables "cpp ABI"

10 releases

0.1.9 May 2, 2024
0.1.8 May 2, 2024
0.1.5 Apr 30, 2024

#2 in #vtable

MIT license

4KB

rust_cpp_oop

cpp_oop is a rust crate that lets you create cpp-like classes with all the inheritance and automatic vtable support (compatible with "cpp ABI"), this can be used (but is not recommended) as a temporary way to convert a cpp code into rust code without caring about class conversion into structs, because of its built-in vtable support it can be useful for interfacing with "cpp ABI"

usage

our tests folder contains all working examples, if you would like to have some kind of tutorial here, you can contribute, if not everything is in the tests, pls open an issue

Dependencies

~1–1.5MB
~30K SLoC