Skip to content

Releases: gul-cpp/gul17

Version 25.7.0

11 Jul 11:26

Choose a tag to compare

What's Changed

  • Add gul17::null_safe_string(const char*) and gul17::null_safe_string_view(const char*). The new functions construct a string or string_view from a null-terminated C string and are safe against null pointers.
  • Allow gul17::join() on ranges of string-like types that do not have a size() member function (e.g. const char*).
  • Add gul17::join() overloads for joining ranges of elements with a custom string conversion function.
  • Reintroduce gul17::OverloadSet. This class template allows creating an overload set from an arbitrary number of function objects. It was already part of GUL14 and is now included in an updated version with a C++17 template argument deduction guide.

Version 25.4.1

06 May 14:45

Choose a tag to compare

Hi everyone,
this is a belated release of GUL17 version 25.4.1. The only major addition is the safe_string_view() function that constructs a string_view from a char pointer and a length. It is safe against null pointers and non-null-terminated strings.
Safe coding!

First Release

19 Mar 06:24

Choose a tag to compare

Hi everyone,

we have released the first GUL17 version
.
GUL17 ("General Utility Library for C++17") is the successor of GUL14.
The library documentation is here:

https://gul-cpp.github.io/gul17/

The sources are here:

https://github.com/gul-cpp/gul17

Integration into the DOOCS release and into the vcpkg package manager
will follow.

Changes w/r/t GUL14 in a nutshell:

  • Debian package names:
     gul17-25-3-0     vs.     doocs-libgul14-25-2-0
     gul17-dev        vs.     dev-doocs-libgul14
    
  • Pkgconfig name:
     gul17            vs.     libgul14
    
  • Header files:
     gul17/           vs.     gul14/
    
  • Namespace:
     gul17            vs.     gul14
    
  • Library contents:
    The header-only version of the Catch2 unit test framework is no longer
    included (but still available as part of GUL14).
    Removed types that are present in the C++17 standard library:
    optional, string_view, variant, void_t, in_place_t