think-cell range library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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!


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 apply boost_patches/has_range_iterator.patch to your boost library. This is equivalent to https://github.com/boostorg/range/pull/40 (accepted, but not merged into release yet).

And you need the following compiler settings:

Visual C++ 19.15 (Visual Studio 2017 15.8)
  • /std:c++latest
  • /permissive (we are working on /permissive- a.k.a. Conformance Mode)
clang Apple LLVM 9.1.0 (Xcode 9.4)
  • -std=c++17

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.