[GRASS-git] [OSGeo/grass] 5af22b: lib/iostream: Remove redundant template parameters...

Vaclav Petras noreply at github.com
Fri Oct 25 20:41:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 5af22b2d4eae997953bc62cd865ab0d09883459b
      https://github.com/OSGeo/grass/commit/5af22b2d4eae997953bc62cd865ab0d09883459b
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2024-10-25 (Fri, 25 Oct 2024)

  Changed paths:
    M include/grass/iostream/replacementHeap.h
    M include/grass/iostream/replacementHeapBlock.h

  Log Message:
  -----------
  lib/iostream: Remove redundant template parameters (#4586)

In C++20, repeating template parameter names with the name of the class is no longer allowed as it is redundant (https://cplusplus.github.io/CWG/issues/2237.html). The new code is valid also in C++17, but the old code is not accepted in C++20.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list