Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a new port:
immuds
, a header-only immutable data structures library.find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.vcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.Notes
immuds
is a header-only library, so no linking is required. It provides immutable data structures for C++ developers.vcpkg
and has no optional dependencies.Available Headers
The library provides the following immutable data structure implementations:
immutable/Stack.h
: A stack implementation that returns new instances upon modification.immutable/PriorityQueue.h
: A priority queue implementation.immutable/Queue.h
: A queue implementation.immutable/Set.h
: A set implementation.immutable/HashMap.h
: A hash map implementation.Usage Instructions
After installing via
vcpkg
:To use it in your CMake project, follow these steps:
Include the
vcpkg
toolchain in your project configuration:Find and include the
immuds
headers:Write a C++ program that uses the library: