Gungnir is a library that provides abstractions for functional programming in C++. It is made with ease of use, efficiency, and full compatibility with the C++11 standard in mind.
Gungnir provides a collection of data structures to facilitate functional programming in C++, most of which are immutable functional data structures. Their implementations are highly optimized, utilizing techniques including structural sharing and lazy evaluation, so you should not hold back from using them for performance considerations.
Some of the more frequently used data structures include:
Gungnir also provides utilities for efficient lazy evaluation in C++:
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.