mirror of
https://github.com/boostorg/static_string.git
synced 2026-08-26 14:46:37 +02:00
8c44a96c8dcde60fbb76bd4b71f33b43e0199988
The test I added with available() passed "xyzwv" directly to the 3-arg append(v, pos, count). That overload's viewable-T constraint excludes const CharT*-convertible types (to avoid clashing with append(const CharT*, size_type)), so the C-string literal doesn't match and there is no viable 3-arg overload. Wrap the literal in std::string_view.
Boost.StaticString
| Branch | GHA CI | Appveyor | Azure Pipelines | codecov.io | Docs | Matrix |
|---|---|---|---|---|---|---|
master |
||||||
develop |
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.
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)
Languages
C++
98.5%
CMake
0.9%
Shell
0.5%
HTML
0.1%