https://github.com/yexuanxiao/basic_string
A fast, clean string implementation, aiming to provide an approximation of std::basic_string using standard C++23 with legal and portable code.
https://github.com/yexuanxiao/basic_string
cpp cpp20 cpp23 portable-cpp teaching
Last synced: 3 months ago
JSON representation
A fast, clean string implementation, aiming to provide an approximation of std::basic_string using standard C++23 with legal and portable code.
- Host: GitHub
- URL: https://github.com/yexuanxiao/basic_string
- Owner: YexuanXiao
- License: mit
- Created: 2023-09-29T19:17:03.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T09:40:20.000Z (9 months ago)
- Last Synced: 2025-04-05T01:32:22.488Z (3 months ago)
- Topics: cpp, cpp20, cpp23, portable-cpp, teaching
- Language: C++
- Homepage:
- Size: 113 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# basic_string
A fast and clean implementation of basic_string that uses portable C++23 code and accurately meet standard requirements. The implementation maximum optimizes the short string optimization, and avoids self-referencing. It supports constexpr, exception safety and suitable for teaching purposes. It does not implement write-out functions and find functions.