Releases: gershnik/sys_string
Releases · gershnik/sys_string
2.5
- Fixed broken
swap()
method for some storage types - Made generic Unix support work for any Unix, not just Linux/BSD
2.4
- Fixed compilation with GCC >= 10 and <= 11.2 which were broken due to compiler bug. GCC 9 and >= 11.3 are unaffected.
- Updated Catch library to fix tests not building on some Linux versions
2.3
- FreeBSD is now supported (identical to Linux)
- Generic
char *
storage is now supported on Windows - Removed spurious output during CMake build
2.2
Added string partitioning methods:
- Returning one side
suffix_after_first(str_or_char)
prefix_before_first(str_or_char)
suffix_after_last(str_or_char)
prefix_before_last(str_or_char)
- Returning both sides (as
std::pair
)partition_at_first(str_or_char)
partition_at_last(str_or_char)
2.1
- Support for GCC 12
- Workarounds for Xcode 13 libc++ issues
- Minor internal tweaks and improvements
2.0
sys_string
is now a template on storage policy which leads to- ability to select different storage types for each platform
- ability to use multiple storage types in the same project, if desired
- New storage types on Windows:
BSTR
and plainwchar_t *
- Breaking change: default storage type switched to plain
wchar_t *
- Breaking change: default storage type switched to plain
- Performance improvements