Gennaro Prota 6f0c00b268 Work around a Clang 3.7 bug affecting constexpr insert()
The iterator-based insert(const_iterator, size_type, value_type)
function relies on traits_type::move() to shift the existing null
terminator to its new position. Clang 3.7's constexpr evaluator does not
handle this correctly, causing the following test to fail:

  static_string<3>{"ab"}.insert(2, 1, 'c') == "abc"

Add an explicit term() call, guarded by a preprocessor conditional for
Clang 3.7, to ensure proper null termination.
2025-12-19 18:23:33 +01:00
2025-10-24 11:57:55 +02:00
2025-10-23 16:49:48 +02:00
2025-10-22 18:35:38 +02:00
2020-04-18 14:09:20 -04:00
2025-10-07 10:19:31 +02:00
2022-10-31 16:09:33 -07:00
2025-10-24 11:57:55 +02:00
2019-09-13 06:29:15 -07:00
2025-10-22 19:11:09 +02:00
2019-09-13 06:29:15 -07:00
2025-10-24 11:58:47 +02:00
2020-03-02 19:29:31 -05:00
2019-09-13 06:29:15 -07:00
2025-10-24 11:59:10 +02:00

Boost.StaticString

Branch GHA CI Appveyor Azure Pipelines codecov.io Docs Matrix
master Build Status Build status Build Status codecov Documentation Matrix
develop Build Status Build status Build Status codecov Documentation Matrix

Introduction

This library provides a dynamically resizable string of characters with compile-time fixed capacity and contiguous embedded storage in which the characters are placed within the string object itself. Its API closely resembles that of std::string.

Documentation

License

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)

Description
Mirrored via gitea-mirror
Readme 1,012 KiB
Languages
C++ 98.5%
CMake 0.9%
Shell 0.5%
HTML 0.1%