SiddiqSoft.arrp 1.4.0

dotnet add package SiddiqSoft.arrp --version 1.4.0
                    
NuGet\Install-Package SiddiqSoft.arrp -Version 1.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SiddiqSoft.arrp" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SiddiqSoft.arrp" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="SiddiqSoft.arrp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SiddiqSoft.arrp --version 1.4.0
                    
#r "nuget: SiddiqSoft.arrp, 1.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SiddiqSoft.arrp@1.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SiddiqSoft.arrp&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=SiddiqSoft.arrp&version=1.4.0
                    
Install as a Cake Tool

arrp

<div class="hero-tagline">Thread-safe resource pool library.</div>

Build Status NuGet Version NuGet Downloads Tests C++20 License BSD-3

arrp (Auto Returning Resource Pool) is a lightweight, thread-safe, header-only C++20 resource pool library.

Documentation: https://siddiqsoft.github.io/arrp/

Quick Example

#include <siddiqsoft/arrp.hpp>
#include <string>
#include <iostream>

int main() {
    siddiqsoft::arrp::resource_pool<std::string> pool {8};

    pool.seed("connection-1");
    pool.seed("connection-2");

    {
        auto resource = pool.try_borrow();
        if (resource) {
            resource->append(" [active]");
            std::cout << "Using resource: " << *resource << '\n';
        }
    } // resource returns to the pool automatically
    
    return 0;
}

Dependencies

graph TD
    arrp["arrp::arrp {{ version }}"]

    subgraph Core["Core Dependencies (via CPM)"]
        RUNONEND["RunOnEnd 1.4.5"]
    end

    subgraph TestBench["Test & Diagnostic Dependencies (Conditional)"]
        GTEST["gtest v1.17.0"]
        NLOHMANNJSON["nlohmann_json v3.12.0"]
    end

    arrp --> RUNONEND
    arrp -.->|BUILD_TESTS=ON| GTEST
    arrp -.->|BUILD_TESTS=ON| NLOHMANNJSON

See the Getting Started guide for full installation instructions.

License

BSD 3-Clause License. See LICENSE.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SiddiqSoft.arrp:

Package Downloads
SiddiqSoft.restcl

Focussed REST Client for modern C++

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 33 9/16/2026
1.3.0 101 9/7/2026

Refer to the project repository for release notes. Documentation at https://siddiqsoft.github.io/arrp/