C++ Functional

Open-source C++ projects categorized as Functional

Top 8 C++ Functional Projects

  • function2

    Improved and configurable drop-in replacement to std::function that supports move only types, multiple overloads and more

    Project mention: Callbacks in embedded | heapless environment | /r/cpp | 2023-03-31

    Fixed size function wrappers are not only limited and also a waste of space. Use a configurable function wrapper like fu2 with a stack allocator and set small object optimizer capacity to 0.

  • hof

    Higher-order functions for c++ (by boostorg)

    Project mention: Function composition in modern C++ | /r/cpp | 2023-03-05

    a prime example of how modern c++ simplified things: “Compose” in hof spans hundreds of lines of code (and needs inclusion of library headers and utilities) https://github.com/boostorg/hof/blob/develop/include/boost/hof/compose.hpp . Just a reminder of what we had to go through very recently to do something that’s now doable in ~15 lines of vanilla C++ . Mad respect for Paul Fultz.

  • JetBrains Dev Survey

    What’s up with the C++ ecosystem in 2023? JetBrains Developer Ecosystem Survey 2023 has given us many interesting insights. The Embedded (37%) and Games (39%) industries are already working with C++20, developers are incorporating static analysis in their CI, and ChatGPT usage among coders is flourishing. Read on for more!

  • rangeless

    c++ LINQ -like library of higher-order functions for data manipulation

  • static-functional

    Header-only C++ library providing compile-time functional operators that work with raw function pointers

  • closure

    A c++ function closure implementation. It integrates the std::function and std::bind, and even more powerful. (by coyorkdow)

    Project mention: I developed an alternative to std::function. It integrates the both std::function and std::bind, and even more powerful. | /r/cpp | 2023-07-05
  • libletlib

    C++ framework for the impatient.

  • cpp-functional-helpers

    Convenient functional-style helper functions for C++11 that don't use iterators and return new structures instead of modifying existing ones in place

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Simple-Utility

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-07-05.

C++ Functional related posts


What are some of the best open-source Functional projects in C++? This list will help you:

Project Stars
1 function2 503
2 hof 503
3 rangeless 191
4 static-functional 46
5 closure 43
6 libletlib 11
7 cpp-functional-helpers 8
8 Simple-Utility 4
ChatGPT with full context of any GitHub repo.
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.