Add an experimental basic_static_cstring template in example/

This introduces a lightweight alternative to basic_static_string
designed for use in POD types: trivially copyable, sizeof == N + 1,
no embedded NULs.

Placed in example/ to gather user feedback before committing to a public
API. See <https://github.com/boostorg/static_string/issues/23>.
This commit is contained in:
Gennaro Prota
2025-12-19 12:32:50 +01:00
parent f699d8db04
commit ec624ed0d4
5 changed files with 1192 additions and 0 deletions

38
.github/workflows/example.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
#
# Copyright (c) 2025 Gennaro Prota (gennaro dot prota at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#
# Official repository: https://github.com/boostorg/static_string
#
name: Example (basic_static_cstring)
on:
pull_request:
push:
branches:
- master
- develop
- bugfix/**
- feature/**
- fix/**
- github/**
- pr/**
paths-ignore:
- LICENSE
- meta/**
- README.md
env:
B2_TARGETS: libs/$SELF/example
jobs:
call-boost-ci:
name: Run Boost.CI
uses: boostorg/boost-ci/.github/workflows/reusable.yml@master
with:
exclude_cxxstd: '98,03,0x,11,14,17'
enable_pr_coverage: false
enable_multiarch: false