
2 Oct
2025
2 Oct
'25
11:17 a.m.
El 30/09/2025 a las 16:05, Seth via Boost escribió:
15. GermanString - I would suggest picking better name, unless it really sticks in the community. https://www.reddit.com/r/programming/comments/1e5gzq2/comment/ldmj266/
Yes, I found this name surprising too.
It reminds me a lot of Pascal strings. https://stackoverflow.com/questions/25068903/what-are-pascal-strings
Thanks, very interesting link. The same can be applied to dynamic arrays or vectors, useful when an empty array/vector is common (say, an optional attribute). Empty vectors are reduced to "sizeof(void*)" and length (and capacity for vectors) are allocated inside the dynamic buffer. Best, Ion