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" />
<PackageReference Include="SiddiqSoft.arrp" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=SiddiqSoft.arrp&version=1.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
arrp
<div class="hero-tagline">Thread-safe resource pool library.</div>
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 | Versions 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.
-
- Siddiqsoft.RunOnEnd (>= 1.4.5)
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.
Refer to the project repository for release notes. Documentation at https://siddiqsoft.github.io/arrp/