Skip to content

C++ Port available #4

@jwurzer

Description

@jwurzer

Hi!
I have ported Bantam to C++11.
It is available at https://github.com/jwurzer/bantam-cpp.
It would be great if you put a reference to the C++ port in your Readme file so that my C++ port can be found easily :-)

My C++ version corresponds as best as possible to this original Java version. It uses C++11. The C++ port is implemented as a header-only library. All necessary files are located in the include directory. The member functions are implemented directly in the according class in the header file instead of in a separate C++ file. This also has the advantage that it looks even more like the Java version. Only the test program for testing the implementation is located in the C++ file src/main.cpp. This C++ port uses unique pointers and namespaces.

There is also another C++ port available (by stefanboca) which uses C++20, shared pointers instead of unique pointers, no namespaces and extra C++ files for most longer implementations (no header-only). This other C++ port can be found under https://github.com/stefanboca/bantam-cpp. Maybe you want also add this other C++ port to your Readme.

Best regards
Jürgen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions