SiddiqSoft.StringHelpers
1.2.2
dotnet add package SiddiqSoft.StringHelpers --version 1.2.2
NuGet\Install-Package SiddiqSoft.StringHelpers -Version 1.2.2
<PackageReference Include="SiddiqSoft.StringHelpers" Version="1.2.2" />
<PackageVersion Include="SiddiqSoft.StringHelpers" Version="1.2.2" />
<PackageReference Include="SiddiqSoft.StringHelpers" />
paket add SiddiqSoft.StringHelpers --version 1.2.2
#r "nuget: SiddiqSoft.StringHelpers, 1.2.2"
#:package SiddiqSoft.StringHelpers@1.2.2
#addin nuget:?package=SiddiqSoft.StringHelpers&version=1.2.2
#tool nuget:?package=SiddiqSoft.StringHelpers&version=1.2.2
StringHelpers : C++ String Conversion Utilities
Objective
- Collect useful helpers for Azure REST API in a single location.
- Header-only
- Use the nuget package or CMakeLists to import into your project.
- Use Win32 functions on Windows
- No support for Linux/Darwin!
Usage
- Use the nuget SiddiqSoft.StringHelpers
- Use the CPM in your CMakeLists file.
..
.. # import the CPM.cmake module and activate..
..
CPMAddModule("gh:siddiqsoft/StringHelpers#1.0.0")
..
..
target_link_libraries(your-project PRIVATE StringHelpers::StringHelpers)
Features
ConversionUtils (
conversion-utils.hpp)template<typename S, typename D> auto convert_to<char,wchar_t>(const std::basic_string<T>& src) -> std::basic_string<D> { ... return std::basic_string<D>{}; }convert_to<char,wchar_t>(const std::string& src)- Convert from std::string to std::wstring (using UTF-8 encoding)
convert_to<wchar_t,char>(const std::wstring& src)- Convert from std::wstring to std::string (UTF-8 encodes the contents).
Use this library until C++26 is prevalent and the compiler vendors remove the
codecvtlibrary--not simply deprecation warnings.
<p align="right"> © 2024 Siddiq Software LLC. All rights reserved. </p>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native is compatible. |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on SiddiqSoft.StringHelpers:
| Package | Downloads |
|---|---|
|
SiddiqSoft.AzureCppUtils
Azure REST API Helpers for Modern C++. Featuring helper functions for date-time, encryption tokens for Azure REST API as a single header-only package and native Win32 libraries. |
|
|
SiddiqSoft.CosmosClient
Azure Cosmos REST-API Client for Modern C++ |
GitHub repositories
This package is not used by any popular GitHub repositories.