think-cell / think-cell-library

think-cell core library
https://www.think-cell.com/en/career/devblog/overview
Boost Software License 1.0
415 stars 51 forks source link
algorithms containers cpp ranges

CI

think-cell public library

This library consists of several core C++ utilities that we at think-cell Software have developed and consider to be useful. It mostly covers ranges, but you will see that it also contains other handy features.

We continuously improve our library as part of our daily work, and whenever we gain new insights, we add them as we go. To get in touch with other programmers, we regularly give talks about our ideas, using this library as a reference.

We consider the library to be production-quality code, but it is important to know that we do not strive for stable interfaces. Being free of such constraints is an important requirement for further enhancements.

Clean and expressive code makes reasoning about it - and thus further progress - easier. Therefore, we adopt the latest language features quickly if it helps the case.

This library has been made publicly available as an example of modern C++ coding techniques and as a source of inspiration for other library writers. And of course because we are proud of it!

The documentation is currently lacking and we are working on that. We will publish usage examples on our new developer blog and will merge them into the library as comments.


Contributions

If you propose a change that improves correctness or standard-conformance, we encourage you to make a pull request. But please understand that, for the above-mentioned reasons, we are not keen on workarounds to accommodate outdated compilers.

Does hacking our library give you a kick, and do you think you can contribute more? We are a friendly and driven bunch of C++ enthusiasts with a knack for elegant algorithms, and we are always looking for new colleagues.


Usage instructions

You need to have boost installed (we tested with 1.75.0) and the following compiler settings:

Visual C++ 19.28 (Visual Studio 2019 16.9)
clang (13.0.0 and Apple LLVM 14.0.0)
gcc 12

range.example.cpp provides a good entry point to get started quickly. If you want to see more examples, there are some unit tests in tc/*.t.cpp.