Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ Port available #4

Open
jwurzer opened this issue Sep 10, 2022 · 0 comments
Open

C++ Port available #4

jwurzer opened this issue Sep 10, 2022 · 0 comments

Comments

@jwurzer
Copy link

jwurzer commented Sep 10, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant