@SimonSchroeder
Your description above is in substance, correct. I had to check it to make sure myself. ;^) By assigning the string literal to an array (const or not) it is considered "auto class". When you create a pointer to the string literal the pointer will "typically" point to a RO-data segment containing the literal.
C++ Gurus
The forum for all discussions in C++ land.
1.3k
Topics
8.5k
Posts
-
The Question of a Lifetime
Unsolved -
-
QGiS in WIndows
Unsolved -
-
-
-
-
-
-
QList need to know all modifications
Unsolved -
-
-
-
-
Qt6 C++ compilation changes
Unsolved -
-
Qt6 linking change
Solved -
templated parameter packs
Unsolved -
-