Make C string literals const?
https://gustedt.wordpress.com/2025/04/06/make-c-string-literals-const/
#HackerNews #Make #C #string #literals #const? #CProgramming #CStrings #ConstCorrectness #HackerNews #CodingStandards
Martin Uecker has started a new initiative to ensure a better const contract for C2y: change the type of string literals to a const-qualified base type, much as it is already the case in C++. Compi…