Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
KitsuneAlex edited this page Mar 29, 2023 · 1 revision

cxxstreams

Welcome to the cxxstreams Wiki!
Here you will find information about every relevant function provided by the cxxstreams API.

cxxstreams is a highly optimized, constexpr-ready collection stream API for C++20 and up.
It makes processing vectors, lists, sets and maps a lot more comfortable while being basicly 0-cost.

Quick FAQ

Can i request/PR a new stream feature?

Yes.

You can create an issue over here, and either ask for a feature to be added, or you can code it yourself and create a pull request.

Does my container support cxxstreams?

Probably.

As long as your container satisfies the requirements for a const-iterable standard container, you can use cxxstreams on it.
Those requirements being the container provides both a cbegin() and cend() function, which return iterators whos value type matches the stream value type.

Does my compiler support cxxstreams?

Most likely.

As long as your compiler supports compiling C++20 code and your std-library implementation provides a constexpr-ready implementation of std::optional, you should be good to go.