Skip to content

Releases: stclib/STC

Release v4.2

10 Apr 13:12
Compare
Choose a tag to compare

Version 4.2

  • New home! And online single headers for https://godbolt.org
  • Much improved documentation
  • Added Coroutines + documentation
  • Added new crand.h API & header. Old crandom.h is deprecated.
  • Added c_const_cast() typesafe macro.
  • Removed RAII macros usage from examples
  • Renamed c_foreach_r => c_foreach_rv
  • Renamed c_flt_count(i) => c_flt_counter(i)
  • Renamed c_flt_last(i) => c_flt_getcount(i)
  • Renamed c_ARRAYLEN() => c_arraylen()
  • Removed deprecated c_ARGSV(). Use c_SV()
  • Removed c_PAIR

Release v4.1.1

14 Feb 07:02
e456085
Compare
Choose a tag to compare

News: Version 4.1.1 Released (Feb 2023)

This is a minor patch to v4.1:

  • Renamed c_ARGSV(sv) => c_SV(sv): for printing a csview using "%.*s" format. Old name deprecated. Note that lowercase c_sv() is shorthand for csview_from() / csview_from_n().
  • cbits now uses 64-bits signed indices and sizes, to fix max size limit of 0.25 GB on 32-bit platforms.
  • Some improved documentation.

Release v4.1

12 Feb 22:32
Compare
Choose a tag to compare

I am happy to finally announce a new release! Major changes:

VERSION 3.8

28 Jul 18:01
Compare
Choose a tag to compare

This version has a different API for cstr replace() / find() and u8() functions. Some changes to csview as well.
Adds cregex with documentation, and adds back coption, which was removed some months ago.

VERSION 3.7

28 Jul 18:04
Compare
Choose a tag to compare

Container functions size(), capacity() and empty() now take pointer to containers, See release notes for details in README.md.

VERSION 3.6

28 Jul 17:50
Compare
Choose a tag to compare

Last commit before v3.7. Container functions size(), capacity() and empty() take value parameters, which is changed to const pointer in 3.7.

Release v3.5.1

24 Apr 22:16
Compare
Choose a tag to compare
  • Swapped to new cstr (short string optimized, aka SSO). Note that cstr_str(&s) must be used, s.str is no longer usable.
  • Added general i_clone template parameter: containers with smart pointers (carc, cbox) can now be correctly cloned.
  • Optimized c_default_hash(). Therefore c_hash32() and c_hash64() are removed (same speed).
  • Added .._push() and .._emplace() function to all containers to allow for more generic coding.
  • Added some examples and benchmarks for SSO and heterogenous lookup comparison with c++20 (string_bench_*.cpp).

Release V2.0 RC New Style

19 Sep 13:18
Compare
Choose a tag to compare

Release candidate for first version of new template instantiation style,

Release v1.3

19 Sep 13:10
Compare
Choose a tag to compare

Final version of "old-style" templating. Version 2.x uses a new way o instantiating templates.

Release v1.2

31 May 15:11
Compare
Choose a tag to compare

This release contains a range of bugfixes and enhancements since last release.

  • The API going forward will be mostly stable, but not guaranteed to not break old code.
  • If API changes should happen, each will be properly documented.
  • Added string_view type: csview.