Kerbal 2025.11.1
dotnet add package Kerbal --version 2025.11.1
NuGet\Install-Package Kerbal -Version 2025.11.1
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="Kerbal" Version="2025.11.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kerbal" Version="2025.11.1" />
<PackageReference Include="Kerbal" />
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 Kerbal --version 2025.11.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Kerbal, 2025.11.1"
#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 Kerbal@2025.11.1
#: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=Kerbal&version=2025.11.1
#tool nuget:?package=Kerbal&version=2025.11.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Kerbal
C++ template library with:
- more fundamental features,
- modern standard library facilities backport to old,
- and MORE constexpr!
Install
I) Install via Package Managers
1. Vcpkg
Vcpkg environment is required, see Vcpkg
vcpkg install kerbal
2. NuGet
nuget install kerbal
II) Install via Source
- clone repository
git clone https://github.com/WentsingNee/Kerbal.git
cd Kerbal
- clone git submodules (if you need)
git submodule init
git submodule update
- configure by CMake
mkdir build
cmake -S . -B build/ \
-DCMAKE_BUILD_TYPE=Release
# the following arguments are optional
# the path prefix to install Kerbal
-DCMAKE_INSTALL_PREFIX=`the-path-prefix-you-want-to-install`
# default is set to your system path
# the package generator(s) enabled during the cpack stage
-DCPACK_GENERATOR=`package-generators-you-want`
# default is set to "DEB;STGZ;TGZ;ZIP"
# whether install pretty printer files
# git submodule of `pretty_printer` is required to be existed
-DKERBAL_INSTALL_PRETTY_PRINTER=True # or False
# default value is decided by the existence of `pretty_printer` submodule
- install
cd build
cmake --build . --target install
then Kerbal will be installed to CMAKE_INSTALL_PREFIX
- generate package (if you need)
cd build
cpack .
Integrate Kerbal In Your CMake Project
find_package(Kerbal REQUIRED)
target_link_libraries(
your-target PRIVATE
Kerbal::kerbal
[Kerbal::kerbal-omp] # maybe required when you have used Kerbal::omp module
)
Sub Libraries Overview
| Library | Brief |
|---|---|
| Kerbal::kerbal | |
| algorithm | algorithm |
| any | std::any-like facility but backport to C++98, together with C++20 constexpr support |
| assign | std::initializer_list-like facility for C++98 |
| autonm | autonomous containers, having flexible memory (de)allocation like intrusive containers but have no intrusion to value type |
| bitset | static_bitset (like std::bitset but have more function and constexpr support) |
| compare | comparators and sequence compare |
| compatibility | compatibility macros |
| config | architecture, compiler, OS platform, std library environment detection |
| container | array, vector, static_vector, list, forward_list, priority_queue ... |
| function | function, function_traits, invoke, invoke_r ... |
| hash | hash support |
| iterator | iterator support |
| macro | macro utilities |
| memory | memory management support like allocator, uninitialized algorithms |
| numeric | numeric algorithms |
| operators | use CRTP to simplify operator overload |
| optional | std::optional-like facility but backport to C++98 |
| random | random number engines and distributions |
| smath | static math |
| test | unit test |
| tmp | template meta programming facilities |
| type_traits | C++11 <type_traits>-like facilities but backport part to C++98 |
| utility | compressed_pair, tuple ... |
| Kerbal::kerbal-coroutine | |
| coroutine | coroutine facilities |
| Kerbal::kerbal-omp | |
| ompalgo | openMP accelerated algorithms |
| openmp | openMP facilities and environment detection |
| Kerbal::kerbal-parallel | |
| parallel | parallel facilities |
Document
- Doxygen generated document: click this
Thanks
ThinkSpirit Laboratory of Nanjing University of Information Science and Technology
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.