#cpp #vtable #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

#1 in #oop

Download history 202/week @ 2024-04-11 508/week @ 2024-04-25 642/week @ 2024-05-02

1,352 downloads per month

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.2–1.7MB
~33K SLoC