|
Boost : |
From: Krystian Stasiowski (sdkrystian_at_[hidden])
Date: 2020-02-24 00:32:52
Hi all,
After some post-review polishing, Boost.StaticString is good to go for
release! I have been in touch with the review manager, and everything has
been checked over.
Repo: https://github.com/sdkrystian/static_string
Docs: https://sdkrystian.github.io/doc/static_string
Here are some things that have been changed post-review:
- Library has been renamed from Boost.FixedString to Boost.StaticString.
Class template fixed_string has been renamed to basic_static_string, and
aliases have been added for common character types, similar to std::string.
- constexpr support to the fullest extent supported by available compilers
has been added.
- Functions that will not throw have been marked noexcept.
- Moved to a single header configuration.
- std::hash and boost::hash_value support has been added.
- It has been decided that functions will throw on capacity overflow.
- A specialization for when the capacity is 0 has been added that has no
member. Additionally, the type of the member used to store the size of the
string is now statically chosen to be the smallest possible width unsigned
standard integer type that can hold all the needed size values.
- operator+ has been implemented.
- Floating point conversion support has been added to
to_static_string/to_static_wstring.
- Lots of bugs fixed.
More behind the scenes, a bunch of optimizations have been added, taking
advantage of the fact that the capacity is part of the type and known at
compile time.
Again, thank you all who participated in the review, and thank you Joaquin
for managing it!
Regards,
Krystian Stasiowski
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk